pub enum Resumption {
Resumed(Value),
Parked,
}Expand description
What RunCtx::await_resume produced.
Variants§
Resumed(Value)
The resume input, recorded or just persisted. Continue the run.
Parked
No resume input exists yet. The run is parked durably; the log already holds everything, so the process may simply stop driving it.
Trait Implementations§
Source§impl Clone for Resumption
impl Clone for Resumption
Source§fn clone(&self) -> Resumption
fn clone(&self) -> Resumption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Resumption
impl RefUnwindSafe for Resumption
impl Send for Resumption
impl Sync for Resumption
impl Unpin for Resumption
impl UnsafeUnpin for Resumption
impl UnwindSafe for Resumption
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