Skip to main content

Request

Trait Request 

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

    const API_KEY: u16;
    const DEFAULT_API_VERSION: i16 = 0;
    const MIN_API_VERSION: i16 = 0;
    const MAX_API_VERSION: i16 = -1;
}

Required Associated Constants§

Provided Associated Constants§

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§