#[non_exhaustive]pub enum ActivationState {
StandbyActive,
On,
Reserved(u8),
}Expand description
activation_state (Table 51) — host power mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for ActivationState
impl Clone for ActivationState
Source§fn clone(&self) -> ActivationState
fn clone(&self) -> ActivationState
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 ActivationState
Source§impl Debug for ActivationState
impl Debug for ActivationState
Source§impl Display for ActivationState
impl Display for ActivationState
impl Eq for ActivationState
Source§impl PartialEq for ActivationState
impl PartialEq for ActivationState
Source§impl Serialize for ActivationState
Available on crate feature serde only.
impl Serialize for ActivationState
Available on crate feature
serde only.impl StructuralPartialEq for ActivationState
Auto Trait Implementations§
impl Freeze for ActivationState
impl RefUnwindSafe for ActivationState
impl Send for ActivationState
impl Sync for ActivationState
impl Unpin for ActivationState
impl UnsafeUnpin for ActivationState
impl UnwindSafe for ActivationState
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