pub struct RaftGroupId(pub u32);Expand description
Identifies one of the cluster’s independent Raft groups (multi-Raft).
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for RaftGroupId
impl Clone for RaftGroupId
Source§fn clone(&self) -> RaftGroupId
fn clone(&self) -> RaftGroupId
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 RaftGroupId
Source§impl Debug for RaftGroupId
impl Debug for RaftGroupId
impl Eq for RaftGroupId
Source§impl Hash for RaftGroupId
impl Hash for RaftGroupId
Source§impl Ord for RaftGroupId
impl Ord for RaftGroupId
Source§fn cmp(&self, other: &RaftGroupId) -> Ordering
fn cmp(&self, other: &RaftGroupId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RaftGroupId
impl PartialEq for RaftGroupId
Source§impl PartialOrd for RaftGroupId
impl PartialOrd for RaftGroupId
impl StructuralPartialEq for RaftGroupId
Auto Trait Implementations§
impl Freeze for RaftGroupId
impl RefUnwindSafe for RaftGroupId
impl Send for RaftGroupId
impl Sync for RaftGroupId
impl Unpin for RaftGroupId
impl UnsafeUnpin for RaftGroupId
impl UnwindSafe for RaftGroupId
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