pub struct ApiInfo {
pub min_version: i16,
pub max_version: i16,
pub flexible_versions_start: i16,
}Expand description
Static metadata about a Kafka API: supported version range and flexible-encoding threshold.
flexible_versions_start is the first message version that uses flexible encoding.
Use i16::MAX to indicate the API is never flexible.
Fields§
§min_version: i16§max_version: i16§flexible_versions_start: i16Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiInfo
impl RefUnwindSafe for ApiInfo
impl Send for ApiInfo
impl Sync for ApiInfo
impl Unpin for ApiInfo
impl UnsafeUnpin for ApiInfo
impl UnwindSafe for ApiInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more