pub enum State {
ContinuePending,
Paused,
PausePending,
Running,
StartPending,
Stopped,
StopPending,
}Expand description
A service state, including transitional states.
Variants§
ContinuePending
Resume is pending.
Paused
The service is paused.
PausePending
Pause is pending.
Running
The service is running.
StartPending
Start is pending.
Stopped
The service is stopped.
StopPending
Stop is pending.
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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