[−][src]Struct kf_protocol_message::isr::KfLeaderAndIsrRequest
Fields
controller_id: i32
The current controller ID.
controller_epoch: i32
The current controller epoch.
broker_epoch: i64
The current broker epoch.
topic_states: Vec<LeaderAndIsrRequestTopicState>
Each topic.
partition_states_v0: Vec<LeaderAndIsrRequestPartitionStateV0>
The state of each partition
live_leaders: Vec<LeaderAndIsrLiveLeader>
The current live leaders.
Trait Implementations
impl Debug for KfLeaderAndIsrRequest
[src]
impl Decoder for KfLeaderAndIsrRequest
[src]
fn decode<T>(&mut self, src: &mut T, version: Version) -> Result<(), Error> where
T: Buf,
[src]
T: Buf,
fn decode_from<T>(src: &mut T, version: i16) -> Result<Self, Error> where
Self: Default,
T: Buf,
[src]
Self: Default,
T: Buf,
impl Default for KfLeaderAndIsrRequest
[src]
impl<'de> Deserialize<'de> for KfLeaderAndIsrRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Encoder for KfLeaderAndIsrRequest
[src]
fn encode<T>(&self, src: &mut T, version: Version) -> Result<(), Error> where
T: BufMut,
[src]
T: BufMut,
fn write_size(&self, version: Version) -> usize
[src]
fn as_bytes(&self, version: i16) -> Result<Bytes, Error>
[src]
impl Request for KfLeaderAndIsrRequest
[src]
const API_KEY: u16
[src]
const MIN_API_VERSION: i16
[src]
const MAX_API_VERSION: i16
[src]
const DEFAULT_API_VERSION: i16
[src]
type Response = KfLeaderAndIsrResponse
impl Serialize for KfLeaderAndIsrRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for KfLeaderAndIsrRequest
impl Send for KfLeaderAndIsrRequest
impl Sync for KfLeaderAndIsrRequest
impl Unpin for KfLeaderAndIsrRequest
impl UnwindSafe for KfLeaderAndIsrRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,