pub struct BrokerId(pub i32);Expand description
The replica id of the current leader or -1 if the leader is unknown.
Tuple Fields§
§0: i32Trait Implementations§
Source§impl Ord for BrokerId
impl Ord for BrokerId
Source§impl PartialOrd for BrokerId
impl PartialOrd for BrokerId
impl Copy for BrokerId
impl Eq for BrokerId
impl StructuralPartialEq for BrokerId
Auto Trait Implementations§
impl Freeze for BrokerId
impl RefUnwindSafe for BrokerId
impl Send for BrokerId
impl Sync for BrokerId
impl Unpin for BrokerId
impl UnwindSafe for BrokerId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.