pub struct BrokerId(pub i32);Expand description
The ID of the leader broker.
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.