pub enum ProposedIsr {
Invalid,
WithoutLeader,
Valid,
}Expand description
How a proposed ISR relates to the partition’s assignment and leader.
Variants§
Invalid
Kafka’s Replicas.validateIsr fails: a member is negative, repeated,
or not an assigned replica.
WithoutLeader
Every member is a distinct assigned replica, but the current leader is not among them.
Valid
Every member is a distinct assigned replica, and the leader is one.
Trait Implementations§
Source§impl Clone for ProposedIsr
impl Clone for ProposedIsr
Source§fn clone(&self) -> ProposedIsr
fn clone(&self) -> ProposedIsr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProposedIsr
Source§impl Debug for ProposedIsr
impl Debug for ProposedIsr
impl Eq for ProposedIsr
Source§impl PartialEq for ProposedIsr
impl PartialEq for ProposedIsr
impl StructuralPartialEq for ProposedIsr
Auto Trait Implementations§
impl Freeze for ProposedIsr
impl RefUnwindSafe for ProposedIsr
impl Send for ProposedIsr
impl Sync for ProposedIsr
impl Unpin for ProposedIsr
impl UnsafeUnpin for ProposedIsr
impl UnwindSafe for ProposedIsr
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