Enum system_api::spaced::StatefulDiskSpaceState
source · pub enum StatefulDiskSpaceState {
NONE = 0,
NORMAL = 1,
LOW = 2,
CRITICAL = 3,
}
Variants§
Trait Implementations§
source§impl Clone for StatefulDiskSpaceState
impl Clone for StatefulDiskSpaceState
source§fn clone(&self) -> StatefulDiskSpaceState
fn clone(&self) -> StatefulDiskSpaceState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StatefulDiskSpaceState
impl Debug for StatefulDiskSpaceState
source§impl Default for StatefulDiskSpaceState
impl Default for StatefulDiskSpaceState
source§impl Enum for StatefulDiskSpaceState
impl Enum for StatefulDiskSpaceState
source§const NAME: &'static str = "StatefulDiskSpaceState"
const NAME: &'static str = "StatefulDiskSpaceState"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<StatefulDiskSpaceState>
fn from_i32(value: i32) -> Option<StatefulDiskSpaceState>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<StatefulDiskSpaceState>
fn from_str(str: &str) -> Option<StatefulDiskSpaceState>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [StatefulDiskSpaceState] = _
const VALUES: &'static [StatefulDiskSpaceState] = _
All enum values for enum type.
source§impl Hash for StatefulDiskSpaceState
impl Hash for StatefulDiskSpaceState
source§impl PartialEq for StatefulDiskSpaceState
impl PartialEq for StatefulDiskSpaceState
source§fn eq(&self, other: &StatefulDiskSpaceState) -> bool
fn eq(&self, other: &StatefulDiskSpaceState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StatefulDiskSpaceState
impl Eq for StatefulDiskSpaceState
impl StructuralPartialEq for StatefulDiskSpaceState
Auto Trait Implementations§
impl RefUnwindSafe for StatefulDiskSpaceState
impl Send for StatefulDiskSpaceState
impl Sync for StatefulDiskSpaceState
impl Unpin for StatefulDiskSpaceState
impl UnwindSafe for StatefulDiskSpaceState
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