Trait fluvio_protocol_api::ApiMessage[][src]

pub trait ApiMessage: Sized + Default {
    type ApiKey: Decoder + Debug;
    fn decode_with_header<T>(
        src: &mut T,
        header: RequestHeader
    ) -> Result<Self, IoError>
    where
        Self: Default + Sized,
        Self::ApiKey: Sized,
        T: Buf
; fn decode_from<T>(src: &mut T) -> Result<Self, IoError>
    where
        T: Buf
, { ... }
fn decode_from_file<P: AsRef<Path>>(file_name: P) -> Result<Self, IoError> { ... } }

Associated Types

Required methods

Provided methods

Implementors