pub enum Wanted {
Running,
Held,
Unwanted,
}Expand description
Denotes what a request wants of the run working on its behalf.
Removing a request, pausing it, and leaving the application are three ways of stating one of these three things, and a run is attended to by what is wanted rather than by why.
Variants§
Running
Denotes a request that wants its run to carry on.
Held
Denotes a request that wants its run held still, and kept.
Unwanted
Denotes a request that wants no run at all.
Trait Implementations§
impl Copy for Wanted
impl Eq for Wanted
impl StructuralPartialEq for Wanted
Auto Trait Implementations§
impl Freeze for Wanted
impl RefUnwindSafe for Wanted
impl Send for Wanted
impl Sync for Wanted
impl Unpin for Wanted
impl UnsafeUnpin for Wanted
impl UnwindSafe for Wanted
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