[−][src]Struct kf_protocol_message::isr::LeaderAndIsrRequestPartitionState
Fields
partition_index: i32
The partition index.
controller_epoch: i32
The controller epoch.
leader_key: i32
The broker ID of the leader.
leader_epoch: i32
The leader epoch.
isr_replicas: Vec<i32>
The in-sync replica IDs.
zk_version: i32
The ZooKeeper version.
replicas: Vec<i32>
The replica IDs.
is_new: bool
Whether the replica should have existed on the broker or not.
Trait Implementations
impl Debug for LeaderAndIsrRequestPartitionState
[src]
impl Decoder for LeaderAndIsrRequestPartitionState
[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 LeaderAndIsrRequestPartitionState
[src]
impl<'de> Deserialize<'de> for LeaderAndIsrRequestPartitionState
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Encoder for LeaderAndIsrRequestPartitionState
[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 Serialize for LeaderAndIsrRequestPartitionState
[src]
Auto Trait Implementations
impl RefUnwindSafe for LeaderAndIsrRequestPartitionState
impl Send for LeaderAndIsrRequestPartitionState
impl Sync for LeaderAndIsrRequestPartitionState
impl Unpin for LeaderAndIsrRequestPartitionState
impl UnwindSafe for LeaderAndIsrRequestPartitionState
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>,