#[non_exhaustive]pub enum EventManagerApdu<'a> {
EventRequest(EventRequest<'a>),
EventRequestAck(EventRequestAck),
EventNotification(EventNotification),
}Expand description
Resource-scoped dispatch over the Event 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.
EventRequest(EventRequest<'a>)
event_request (9F 80 00).
EventRequestAck(EventRequestAck)
event_request_ack (9F 80 01).
EventNotification(EventNotification)
event_notification (9F 80 02).
Implementations§
Trait Implementations§
Source§impl<'a> Clone for EventManagerApdu<'a>
impl<'a> Clone for EventManagerApdu<'a>
Source§fn clone(&self) -> EventManagerApdu<'a>
fn clone(&self) -> EventManagerApdu<'a>
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 moreSource§impl<'a> Debug for EventManagerApdu<'a>
impl<'a> Debug for EventManagerApdu<'a>
impl<'a> Eq for EventManagerApdu<'a>
Source§impl<'a> PartialEq for EventManagerApdu<'a>
impl<'a> PartialEq for EventManagerApdu<'a>
Source§impl<'a> Serialize for EventManagerApdu<'a>
Available on crate feature serde only.
impl<'a> Serialize for EventManagerApdu<'a>
Available on crate feature
serde only.Source§impl Serialize for EventManagerApdu<'_>
impl Serialize for EventManagerApdu<'_>
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<'a> StructuralPartialEq for EventManagerApdu<'a>
Auto Trait Implementations§
impl<'a> Freeze for EventManagerApdu<'a>
impl<'a> RefUnwindSafe for EventManagerApdu<'a>
impl<'a> Send for EventManagerApdu<'a>
impl<'a> Sync for EventManagerApdu<'a>
impl<'a> Unpin for EventManagerApdu<'a>
impl<'a> UnsafeUnpin for EventManagerApdu<'a>
impl<'a> UnwindSafe for EventManagerApdu<'a>
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