xref: /xiu/protocol/rtsp/src/global_trait.rs (revision 8e71d710)
1 pub trait Unmarshal {
unmarshal(request_data: &str) -> Option<Self> where Self: Sized2     fn unmarshal(request_data: &str) -> Option<Self>
3     where
4         Self: Sized;
5 }
6 
7 pub trait Marshal {
marshal(&self) -> String8     fn marshal(&self) -> String;
9 }
10