pub struct RandomPermit<'c> { /* private fields */ }Expand description
Live permission to draw random bits.
Handed out by ReplayCursor::random once history is exhausted. The
caller draws from a real random source and redeems the permit with the
draw.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'c> !UnwindSafe for RandomPermit<'c>
impl<'c> Freeze for RandomPermit<'c>
impl<'c> RefUnwindSafe for RandomPermit<'c>
impl<'c> Send for RandomPermit<'c>
impl<'c> Sync for RandomPermit<'c>
impl<'c> Unpin for RandomPermit<'c>
impl<'c> UnsafeUnpin for RandomPermit<'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