Trait fluvio_protocol::Decoder [−][src]
pub trait Decoder: Default { fn decode<T>(&mut self, src: &mut T, version: i16) -> Result<(), Error>
where
T: Buf; fn decode_from<T>(src: &mut T, version: i16) -> Result<Self, Error>
where
Self: Default,
T: Buf, { ... } }
Required methods
Provided methods
Implementations on Foreign Types
impl<M> Decoder for PhantomData<M> where
M: Default + Decoder,
[src]
impl<M> Decoder for PhantomData<M> where
M: Default + Decoder,
[src]