pub enum DeviceStatus {
Online,
Offline,
Rebooting,
Booting,
Inactive,
}Expand description
The high-level state of a device or bay on the network.
Variants§
Online
Reachable and reporting.
Offline
Has stopped answering.
Rebooting
Announced a reboot.
Booting
Still coming up.
Inactive
Present but not participating.
Trait Implementations§
Source§impl Clone for DeviceStatus
impl Clone for DeviceStatus
Source§fn clone(&self) -> DeviceStatus
fn clone(&self) -> DeviceStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceStatus
Source§impl Debug for DeviceStatus
impl Debug for DeviceStatus
Source§impl Default for DeviceStatus
impl Default for DeviceStatus
Source§fn default() -> DeviceStatus
fn default() -> DeviceStatus
Returns the “default value” for a type. Read more
Source§impl Display for DeviceStatus
impl Display for DeviceStatus
impl Eq for DeviceStatus
Source§impl Hash for DeviceStatus
impl Hash for DeviceStatus
Source§impl Ord for DeviceStatus
impl Ord for DeviceStatus
Source§fn cmp(&self, other: &DeviceStatus) -> Ordering
fn cmp(&self, other: &DeviceStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeviceStatus
impl PartialEq for DeviceStatus
Source§impl PartialOrd for DeviceStatus
impl PartialOrd for DeviceStatus
impl StructuralPartialEq for DeviceStatus
Auto Trait Implementations§
impl Freeze for DeviceStatus
impl RefUnwindSafe for DeviceStatus
impl Send for DeviceStatus
impl Sync for DeviceStatus
impl Unpin for DeviceStatus
impl UnsafeUnpin for DeviceStatus
impl UnwindSafe for DeviceStatus
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