pub struct NowPermit<'c> { /* private fields */ }Expand description
Live permission to observe the clock.
Handed out by ReplayCursor::now once history is exhausted. The caller
reads a real clock (the one side effect the cursor cannot perform) and
redeems the permit with the reading.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'c> !UnwindSafe for NowPermit<'c>
impl<'c> Freeze for NowPermit<'c>
impl<'c> RefUnwindSafe for NowPermit<'c>
impl<'c> Send for NowPermit<'c>
impl<'c> Sync for NowPermit<'c>
impl<'c> Unpin for NowPermit<'c>
impl<'c> UnsafeUnpin for NowPermit<'c>
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