pub struct IntegratorFence(/* private fields */);Expand description
Monotonic generation of an integrator binding within its scope.
A replaced binding raises the fence, so work carrying the old one is refused instead of racing the replacement. It is the same trick the step claim uses, in the one place a host can be swapped mid-ceremony.
Implementations§
Trait Implementations§
Source§impl Clone for IntegratorFence
impl Clone for IntegratorFence
impl Copy for IntegratorFence
Source§impl Debug for IntegratorFence
impl Debug for IntegratorFence
Source§impl Default for IntegratorFence
impl Default for IntegratorFence
Source§impl<'de> Deserialize<'de> for IntegratorFence
impl<'de> Deserialize<'de> for IntegratorFence
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 IntegratorFence
impl Display for IntegratorFence
impl Eq for IntegratorFence
Source§impl Hash for IntegratorFence
impl Hash for IntegratorFence
Source§impl Ord for IntegratorFence
impl Ord for IntegratorFence
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 IntegratorFence
impl PartialEq for IntegratorFence
Source§impl PartialOrd for IntegratorFence
impl PartialOrd for IntegratorFence
Source§impl Serialize for IntegratorFence
impl Serialize for IntegratorFence
impl StructuralPartialEq for IntegratorFence
Auto Trait Implementations§
impl Freeze for IntegratorFence
impl RefUnwindSafe for IntegratorFence
impl Send for IntegratorFence
impl Sync for IntegratorFence
impl Unpin for IntegratorFence
impl UnsafeUnpin for IntegratorFence
impl UnwindSafe for IntegratorFence
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