pub struct ShardEpoch(/* private fields */);Expand description
Fencing/ownership epoch for a shard.
Implementations§
Trait Implementations§
Source§impl Clone for ShardEpoch
impl Clone for ShardEpoch
impl Copy for ShardEpoch
Source§impl Debug for ShardEpoch
impl Debug for ShardEpoch
Source§impl Default for ShardEpoch
impl Default for ShardEpoch
Source§impl Display for ShardEpoch
impl Display for ShardEpoch
impl Eq for ShardEpoch
Source§impl Hash for ShardEpoch
impl Hash for ShardEpoch
Source§impl Ord for ShardEpoch
impl Ord for ShardEpoch
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 ShardEpoch
impl PartialEq for ShardEpoch
Source§impl PartialOrd for ShardEpoch
impl PartialOrd for ShardEpoch
impl StructuralPartialEq for ShardEpoch
Auto Trait Implementations§
impl Freeze for ShardEpoch
impl RefUnwindSafe for ShardEpoch
impl Send for ShardEpoch
impl Sync for ShardEpoch
impl Unpin for ShardEpoch
impl UnsafeUnpin for ShardEpoch
impl UnwindSafe for ShardEpoch
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