pub enum DriveOutcome<Id, R, A, Y, I> {
Continue(WorkReceipt<Id>),
Return(R, WorkReceipt<Id>),
Raise(A, WorkReceipt<Id>),
Yield(Y, WorkReceipt<Id>),
Interrupt(I, WorkReceipt<Id>),
}Expand description
A completed or suspended iterative drive.
Variants§
Continue(WorkReceipt<Id>)
Work was exhausted with explicit guest frames still runnable.
Return(R, WorkReceipt<Id>)
The outermost guest frame returned.
Raise(A, WorkReceipt<Id>)
An instruction raised an abrupt outcome.
Yield(Y, WorkReceipt<Id>)
An instruction cooperatively yielded.
Interrupt(I, WorkReceipt<Id>)
An instruction requested interruption.
Auto Trait Implementations§
impl<Id, R, A, Y, I> Freeze for DriveOutcome<Id, R, A, Y, I>
impl<Id, R, A, Y, I> RefUnwindSafe for DriveOutcome<Id, R, A, Y, I>
impl<Id, R, A, Y, I> Send for DriveOutcome<Id, R, A, Y, I>
impl<Id, R, A, Y, I> Sync for DriveOutcome<Id, R, A, Y, I>
impl<Id, R, A, Y, I> Unpin for DriveOutcome<Id, R, A, Y, I>
impl<Id, R, A, Y, I> UnsafeUnpin for DriveOutcome<Id, R, A, Y, I>
impl<Id, R, A, Y, I> UnwindSafe for DriveOutcome<Id, R, A, Y, I>
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