pub enum State<S, W> {
Idle(S),
Active(W),
}Expand description
The owner is returned only after the kernel reports terminal completion.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<S, W> Freeze for State<S, W>
impl<S, W> RefUnwindSafe for State<S, W>where
S: RefUnwindSafe,
W: RefUnwindSafe,
impl<S, W> Send for State<S, W>
impl<S, W> Sync for State<S, W>
impl<S, W> Unpin for State<S, W>
impl<S, W> UnsafeUnpin for State<S, W>where
S: UnsafeUnpin,
W: UnsafeUnpin,
impl<S, W> UnwindSafe for State<S, W>where
S: UnwindSafe,
W: UnwindSafe,
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