#[repr(u32)]pub enum DeviceStatus {
Operational = 0,
OperationalReadOnly = 1,
DownloadRequired = 2,
DownloadInProgress = 3,
NonOperational = 4,
BackupInProgress = 5,
}Expand description
Device status enumeration
Variants§
Operational = 0
OperationalReadOnly = 1
DownloadRequired = 2
DownloadInProgress = 3
NonOperational = 4
BackupInProgress = 5
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
impl Eq for DeviceStatus
Source§impl PartialEq for DeviceStatus
impl PartialEq for DeviceStatus
Source§fn eq(&self, other: &DeviceStatus) -> bool
fn eq(&self, other: &DeviceStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.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