enum RunningState {
Running {
cancel_sender: Sender<()>,
},
ShallStop {
request: Time,
},
Stopped,
}
Expand description
The state of ongoing process.
Variants§
Running
Ongoing process is allocated.
ShallStop
Cancel signal has been sent, waiting for ongoing process to be freed.
Stopped
There is no ongoing process, a new one can be allocated.
Trait Implementations§
source§impl Debug for RunningState
impl Debug for RunningState
Auto Trait Implementations§
impl Freeze for RunningState
impl RefUnwindSafe for RunningState
impl Send for RunningState
impl Sync for RunningState
impl Unpin for RunningState
impl UnwindSafe for RunningState
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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