#[non_exhaustive]pub enum PowerManagerApdu {
Request(ActivationStateChangeRequest),
Ack(ActivationStateChangeAck),
}Expand description
Resource-scoped dispatch over the Power Manager objects.
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.
Request(ActivationStateChangeRequest)
activation_state_change_request (9F 80 00).
Ack(ActivationStateChangeAck)
activation_state_change_ack (9F 80 01).
Implementations§
Trait Implementations§
Source§impl Clone for PowerManagerApdu
impl Clone for PowerManagerApdu
Source§fn clone(&self) -> PowerManagerApdu
fn clone(&self) -> PowerManagerApdu
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 PowerManagerApdu
Source§impl Debug for PowerManagerApdu
impl Debug for PowerManagerApdu
impl Eq for PowerManagerApdu
Source§impl PartialEq for PowerManagerApdu
impl PartialEq for PowerManagerApdu
Source§impl Serialize for PowerManagerApdu
Available on crate feature serde only.
impl Serialize for PowerManagerApdu
Available on crate feature
serde only.Source§impl Serialize for PowerManagerApdu
impl Serialize for PowerManagerApdu
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for PowerManagerApdu
Auto Trait Implementations§
impl Freeze for PowerManagerApdu
impl RefUnwindSafe for PowerManagerApdu
impl Send for PowerManagerApdu
impl Sync for PowerManagerApdu
impl Unpin for PowerManagerApdu
impl UnsafeUnpin for PowerManagerApdu
impl UnwindSafe for PowerManagerApdu
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