pub enum ModuleState {
Starting,
Running,
Unresponsive,
Restarting,
Draining,
Stopped,
Failed,
Disabled,
}Expand description
Typed lifecycle state for a supervised module.
Variants§
Trait Implementations§
Source§impl Clone for ModuleState
impl Clone for ModuleState
impl Copy for ModuleState
Source§impl Debug for ModuleState
impl Debug for ModuleState
Source§impl Display for ModuleState
impl Display for ModuleState
impl Eq for ModuleState
Source§impl PartialEq for ModuleState
impl PartialEq for ModuleState
impl StructuralPartialEq for ModuleState
Auto Trait Implementations§
impl Freeze for ModuleState
impl RefUnwindSafe for ModuleState
impl Send for ModuleState
impl Sync for ModuleState
impl Unpin for ModuleState
impl UnsafeUnpin for ModuleState
impl UnwindSafe for ModuleState
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