pub struct ControllerEpoch(/* private fields */);Expand description
A nonzero monotonically increasing placement-controller claim epoch.
Implementations§
Trait Implementations§
Source§impl Clone for ControllerEpoch
impl Clone for ControllerEpoch
impl Copy for ControllerEpoch
Source§impl Debug for ControllerEpoch
impl Debug for ControllerEpoch
Source§impl<'de> Deserialize<'de> for ControllerEpoch
impl<'de> Deserialize<'de> for ControllerEpoch
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 ControllerEpoch
impl Display for ControllerEpoch
impl Eq for ControllerEpoch
Source§impl Hash for ControllerEpoch
impl Hash for ControllerEpoch
Source§impl Ord for ControllerEpoch
impl Ord for ControllerEpoch
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 ControllerEpoch
impl PartialEq for ControllerEpoch
Source§impl PartialOrd for ControllerEpoch
impl PartialOrd for ControllerEpoch
Source§impl Serialize for ControllerEpoch
impl Serialize for ControllerEpoch
impl StructuralPartialEq for ControllerEpoch
Auto Trait Implementations§
impl Freeze for ControllerEpoch
impl RefUnwindSafe for ControllerEpoch
impl Send for ControllerEpoch
impl Sync for ControllerEpoch
impl Unpin for ControllerEpoch
impl UnsafeUnpin for ControllerEpoch
impl UnwindSafe for ControllerEpoch
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