pub struct MembershipGeneration(/* private fields */);Expand description
A monotonically increasing external Raft membership generation.
Implementations§
Trait Implementations§
Source§impl Clone for MembershipGeneration
impl Clone for MembershipGeneration
impl Copy for MembershipGeneration
Source§impl Debug for MembershipGeneration
impl Debug for MembershipGeneration
Source§impl<'de> Deserialize<'de> for MembershipGeneration
impl<'de> Deserialize<'de> for MembershipGeneration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MembershipGeneration
impl Display for MembershipGeneration
impl Eq for MembershipGeneration
Source§impl Hash for MembershipGeneration
impl Hash for MembershipGeneration
Source§impl Ord for MembershipGeneration
impl Ord for MembershipGeneration
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MembershipGeneration
impl PartialEq for MembershipGeneration
Source§impl PartialOrd for MembershipGeneration
impl PartialOrd for MembershipGeneration
Source§impl Serialize for MembershipGeneration
impl Serialize for MembershipGeneration
impl StructuralPartialEq for MembershipGeneration
Auto Trait Implementations§
impl Freeze for MembershipGeneration
impl RefUnwindSafe for MembershipGeneration
impl Send for MembershipGeneration
impl Sync for MembershipGeneration
impl Unpin for MembershipGeneration
impl UnsafeUnpin for MembershipGeneration
impl UnwindSafe for MembershipGeneration
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