Trait fluvio::dataplane::core::api::ApiMessage[]

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

Associated Types

Loading content...

Required methods

pub fn decode_with_header<T>(
    src: &mut T,
    header: RequestHeader
) -> Result<Self, Error> where
    Self: Default,
    T: Buf,
    Self::ApiKey: Sized

Loading content...

Provided methods

pub fn decode_from<T>(src: &mut T) -> Result<Self, Error> where
    T: Buf

pub fn decode_from_file<P>(file_name: P) -> Result<Self, Error> where
    P: AsRef<Path>, 

Loading content...

Implementations on Foreign Types

impl ApiMessage for AdminPublicRequest[src]

impl ApiMessage for SpuClientRequest[src]

type ApiKey = SpuClientApiKey

impl ApiMessage for SpuServerRequest[src]

type ApiKey = SpuServerApiKey

Loading content...

Implementors

Loading content...