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

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

Associated Types

Loading content...

Required methods

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

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

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 SpuServerRequest[src]

type ApiKey = SpuServerApiKey

impl ApiMessage for SpuClientRequest[src]

type ApiKey = SpuClientApiKey

Loading content...

Implementors

Loading content...