pub enum ResumableRef {
Fresh(FreshResumableRef),
Invoked(InvokedResumableRef),
}Expand description
An object associated to a resumable that is held internally. The variant ResumableRef::Fresh indicates this
resumable has never been invoked/resumed to. ResumableRef::Invoked indicates this resumable has been
invoked/resumed to at least once.
Variants§
Fresh(FreshResumableRef)
Invoked(InvokedResumableRef)
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