Trait selium_std::traits::codec::MessageDecoder
source · pub trait MessageDecoder<T> {
// Required method
fn decode(&self, buffer: &mut BytesMut) -> Result<T>;
}Expand description
Provides a decode method for implementors to build their own decoder types.
See codecs for more information.