pub enum SmfState {
Disabled,
Degraded,
Maintenance,
Offline,
Online,
Legacy,
Uninitialized,
}
Expand description
Describes the state of a service.
For more information, refer to the “States” section of the smf man page.
Variants§
Disabled
The instance is disabled, must be explicitly enabled to later turn on.
Degraded
The instance is enabled and running (or available to run). However, it is operating in limited capacity.
Maintenance
The instance is enabled, but not running. Administrative
action (via the AdmClear / svcadm clear
command) is
required to restore the instance to an online state.
Offline
The instance is enabled, but not yet running or able to run.
Online
The instance is enabled and running.
Legacy
The instants represents a legacy service not managed by SMF.
Uninitialized
The initial state for all service instances. The instance will be moved to another state by the restarter.
Trait Implementations§
impl StructuralPartialEq for SmfState
Auto Trait Implementations§
impl Freeze for SmfState
impl RefUnwindSafe for SmfState
impl Send for SmfState
impl Sync for SmfState
impl Unpin for SmfState
impl UnwindSafe for SmfState
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