pub enum Resume {
Continue,
Interrupt,
}Expand description
A carrier decision delivered to the operation that suspended the fiber.
Variants§
Continue
Continue the suspended operation normally.
Interrupt
Recheck runtime policy before the suspended operation returns.
Trait Implementations§
impl Copy for Resume
impl Eq for Resume
impl StructuralPartialEq for Resume
Auto Trait Implementations§
impl Forget for Resume
impl Freeze for Resume
impl RefUnwindSafe for Resume
impl Send for Resume
impl Sync for Resume
impl Unpin for Resume
impl UnsafeUnpin for Resume
impl UnwindSafe for Resume
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