Enum SystemState
pub enum SystemState {
Unprovisioned,
Locked,
Operational,
}
Expand description
Variants§
Trait Implementations§
§impl Clone for SystemState
impl Clone for SystemState
§fn clone(&self) -> SystemState
fn clone(&self) -> SystemState
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 more§impl Debug for SystemState
impl Debug for SystemState
§impl Default for SystemState
impl Default for SystemState
§fn default() -> SystemState
fn default() -> SystemState
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for SystemState
impl<'de> Deserialize<'de> for SystemState
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for SystemState
impl Display for SystemState
§impl Hash for SystemState
impl Hash for SystemState
§impl Ord for SystemState
impl Ord for SystemState
§impl PartialEq for SystemState
impl PartialEq for SystemState
§impl PartialOrd for SystemState
impl PartialOrd for SystemState
§impl Serialize for SystemState
impl Serialize for SystemState
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for SystemState
impl Eq for SystemState
impl StructuralPartialEq for SystemState
Auto Trait Implementations§
impl Freeze for SystemState
impl RefUnwindSafe for SystemState
impl Send for SystemState
impl Sync for SystemState
impl Unpin for SystemState
impl UnwindSafe for SystemState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)