pub struct BeginPermit<'c> { /* private fields */ }Expand description
Live permission to start a fresh run.
Handed out by ReplayCursor::begin when the log is empty. Redeem it
with the run’s input to obtain the Event::RunStarted to persist. The
labels passed to begin ride along on the permit
and land on the recorded event unchanged.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'c> !UnwindSafe for BeginPermit<'c>
impl<'c> Freeze for BeginPermit<'c>
impl<'c> RefUnwindSafe for BeginPermit<'c>
impl<'c> Send for BeginPermit<'c>
impl<'c> Sync for BeginPermit<'c>
impl<'c> Unpin for BeginPermit<'c>
impl<'c> UnsafeUnpin for BeginPermit<'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