pub struct ExecutionFence(/* private fields */);Expand description
A monotonically increasing store-issued migration fencing token.
Implementations§
Source§impl ExecutionFence
impl ExecutionFence
Sourcepub fn new(value: u64) -> Result<Self, Diagnostic>
pub fn new(value: u64) -> Result<Self, Diagnostic>
Construct a non-zero fence.
Sourcepub fn checked_successor(self) -> Result<Self, Diagnostic>
pub fn checked_successor(self) -> Result<Self, Diagnostic>
Derive the next strictly greater fence without wrapping.
Trait Implementations§
Source§impl Clone for ExecutionFence
impl Clone for ExecutionFence
Source§fn clone(&self) -> ExecutionFence
fn clone(&self) -> ExecutionFence
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 ExecutionFence
Source§impl Debug for ExecutionFence
impl Debug for ExecutionFence
impl Eq for ExecutionFence
Source§impl Hash for ExecutionFence
impl Hash for ExecutionFence
Source§impl Ord for ExecutionFence
impl Ord for ExecutionFence
Source§fn cmp(&self, other: &ExecutionFence) -> Ordering
fn cmp(&self, other: &ExecutionFence) -> 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
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 ExecutionFence
impl PartialEq for ExecutionFence
Source§impl PartialOrd for ExecutionFence
impl PartialOrd for ExecutionFence
impl StructuralPartialEq for ExecutionFence
Auto Trait Implementations§
impl Freeze for ExecutionFence
impl RefUnwindSafe for ExecutionFence
impl Send for ExecutionFence
impl Sync for ExecutionFence
impl Unpin for ExecutionFence
impl UnsafeUnpin for ExecutionFence
impl UnwindSafe for ExecutionFence
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