[−][src]Trait muta_protocol::codec::ProtocolCodec
Required methods
fn encode<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ProtocolResult<Bytes>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ProtocolResult<Bytes>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn decode<'async_trait, B: Into<Bytes> + Send>(
bytes: B
) -> Pin<Box<dyn Future<Output = ProtocolResult<Self>> + Send + 'async_trait>> where
B: 'async_trait,
Self: 'async_trait,
bytes: B
) -> Pin<Box<dyn Future<Output = ProtocolResult<Self>> + Send + 'async_trait>> where
B: 'async_trait,
Self: 'async_trait,
Implementors
impl<T: ProtocolCodecSync + 'static> ProtocolCodec for T[src]
fn encode<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ProtocolResult<Bytes>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait, [src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ProtocolResult<Bytes>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn decode<'async_trait, B: Into<Bytes> + Send>(
bytes: B
) -> Pin<Box<dyn Future<Output = ProtocolResult<Self>> + Send + 'async_trait>> where
B: 'async_trait,
Self: 'async_trait, [src]
bytes: B
) -> Pin<Box<dyn Future<Output = ProtocolResult<Self>> + Send + 'async_trait>> where
B: 'async_trait,
Self: 'async_trait,