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