pub trait Request: Encoder + Decoder + Debug {
    type Response: Encoder + Decoder + Debug;

    const API_KEY: u16;
    const DEFAULT_API_VERSION: i16 = 0i16;
    const MIN_API_VERSION: i16 = _;
    const MAX_API_VERSION: i16 = Self::DEFAULT_API_VERSION;
}

Required Associated Types§

Required Associated Constants§

Provided Associated Constants§

source

const DEFAULT_API_VERSION: i16 = 0i16

source

const MIN_API_VERSION: i16 = _

source

const MAX_API_VERSION: i16 = Self::DEFAULT_API_VERSION

Object Safety§

This trait is not object safe.

Implementors§