pub enum FiberState {
Suspended(Suspension),
Complete,
}Expand description
The outcome of mounting a fiber once.
Variants§
Suspended(Suspension)
Execution suspended with the supplied reason.
Complete
The fiber returned from its entry function.
Trait Implementations§
Source§impl Clone for FiberState
impl Clone for FiberState
Source§impl Debug for FiberState
impl Debug for FiberState
impl Eq for FiberState
Source§impl PartialEq for FiberState
impl PartialEq for FiberState
impl StructuralPartialEq for FiberState
Auto Trait Implementations§
impl Forget for FiberState
impl Freeze for FiberState
impl RefUnwindSafe for FiberState
impl Send for FiberState
impl Sync for FiberState
impl Unpin for FiberState
impl UnsafeUnpin for FiberState
impl UnwindSafe for FiberState
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