pub enum ResumableCall {
Finished,
HostTrap(ResumableCallHostTrap),
OutOfFuel(ResumableCallOutOfFuel),
}
Expand description
Returned by calling a Func
in a resumable way.
Variants§
Finished
The resumable call has finished properly and returned a result.
HostTrap(ResumableCallHostTrap)
The resumable call encountered a host error and can be resumed.
OutOfFuel(ResumableCallOutOfFuel)
The resumable call ran out of fuel but can be resumed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResumableCall
impl !RefUnwindSafe for ResumableCall
impl Send for ResumableCall
impl Sync for ResumableCall
impl Unpin for ResumableCall
impl !UnwindSafe for ResumableCall
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