pub struct ResumableRef {
dormitory: Weak<RwSpinLock<SlotMap<Resumable>>>,
key: SlotMapKey<Resumable>,
}
Fields§
§dormitory: Weak<RwSpinLock<SlotMap<Resumable>>>
§key: SlotMapKey<Resumable>
Implementations§
Source§impl ResumableRef
impl ResumableRef
pub fn resume<T>( self, runtime_instance: &mut RuntimeInstance<'_, T>, fuel: u32, ) -> Result<RunState, RuntimeError>
Trait Implementations§
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