pub enum ResumableRef {
Fresh(FreshResumableRef),
Invoked(InvokedResumableRef),
}Expand description
An object associated to a resumable that is held internally.
Variants§
Fresh(FreshResumableRef)
indicates this resumable has never been invoked/resumed to.
Invoked(InvokedResumableRef)
indicates this resumable has been invoked/resumed to at least once.
Auto Trait Implementations§
impl Freeze for ResumableRef
impl !RefUnwindSafe for ResumableRef
impl Send for ResumableRef
impl Sync for ResumableRef
impl Unpin for ResumableRef
impl !UnwindSafe for ResumableRef
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