Trait fluvio_protocol_api::core::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,
{ ... }
}