[−][src]Trait queen::net::Codec
Required methods
pub fn new() -> Self
[src]
pub fn decode(
&mut self,
crypto: &Option<Crypto>,
bytes: Vec<u8>
) -> Result<Message>
[src]
&mut self,
crypto: &Option<Crypto>,
bytes: Vec<u8>
) -> Result<Message>
pub fn encode(
&mut self,
crypto: &Option<Crypto>,
message: Message
) -> Result<Vec<u8>>
[src]
&mut self,
crypto: &Option<Crypto>,
message: Message
) -> Result<Vec<u8>>