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 = 0i16;
const MAX_API_VERSION: i16 = -1i16;
}
Required Associated Constants§
Provided Associated Constants§
const DEFAULT_API_VERSION: i16 = 0i16
const MIN_API_VERSION: i16 = 0i16
const MAX_API_VERSION: i16 = -1i16
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.