pub enum UpgradePowerState {
Unspecified,
Online,
Offline,
Low,
Pending,
Unrecognized,
}Expand description
The power state of a hub upgrade.
Variants§
Unspecified
Not specified.
Online
Online.
Offline
Offline.
Low
Low power.
Pending
Pending.
Unrecognized
A value this version of the crate does not know about.
Trait Implementations§
Source§impl Clone for UpgradePowerState
impl Clone for UpgradePowerState
impl Copy for UpgradePowerState
Source§impl Debug for UpgradePowerState
impl Debug for UpgradePowerState
Source§impl<'de> Deserialize<'de> for UpgradePowerState
impl<'de> Deserialize<'de> for UpgradePowerState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpgradePowerState
Source§impl PartialEq for UpgradePowerState
impl PartialEq for UpgradePowerState
Source§impl Serialize for UpgradePowerState
impl Serialize for UpgradePowerState
impl StructuralPartialEq for UpgradePowerState
Auto Trait Implementations§
impl Freeze for UpgradePowerState
impl RefUnwindSafe for UpgradePowerState
impl Send for UpgradePowerState
impl Sync for UpgradePowerState
impl Unpin for UpgradePowerState
impl UnsafeUnpin for UpgradePowerState
impl UnwindSafe for UpgradePowerState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.