pub struct Parked<'c> { /* private fields */ }Expand description
A run parked awaiting resume input that has not arrived.
Handed out by ReplayCursor::await_resume when the log ends at a
suspension or budget crossing. Drop it to leave the run parked (the
process may exit; the log already holds everything), or redeem it once
the input arrives.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'c> !UnwindSafe for Parked<'c>
impl<'c> Freeze for Parked<'c>
impl<'c> RefUnwindSafe for Parked<'c>
impl<'c> Send for Parked<'c>
impl<'c> Sync for Parked<'c>
impl<'c> Unpin for Parked<'c>
impl<'c> UnsafeUnpin for Parked<'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