pub enum Control<T, B, E = Infallible> {
Retain {
value: T,
turn: ControlTurn<B>,
},
Failed {
value: T,
error: E,
},
Complete,
Remove,
}Expand description
Result of a control quantum that consumed its resident value.
Variants§
Auto Trait Implementations§
impl<T, B, E> Forget for Control<T, B, E>
impl<T, B, E> Freeze for Control<T, B, E>
impl<T, B, E> RefUnwindSafe for Control<T, B, E>
impl<T, B, E> Send for Control<T, B, E>
impl<T, B, E> Sync for Control<T, B, E>
impl<T, B, E> Unpin for Control<T, B, E>
impl<T, B, E> UnsafeUnpin for Control<T, B, E>
impl<T, B, E> UnwindSafe for Control<T, B, E>
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