#[non_exhaustive]pub enum StatusQueryApdu<'a> {
StatusQueryReq(StatusQueryReq),
TrapReq(TrapReq),
GetNextItemReq(GetNextItemReq),
GetNextItemAck(GetNextItemAck),
StatusAck(StatusAck<'a>),
}Expand description
Resource-scoped dispatch over the Status Query objects (Tables 37-41).
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.
StatusQueryReq(StatusQueryReq)
StatusQueryReq (9F 80 00).
TrapReq(TrapReq)
TrapReq (9F 80 01).
GetNextItemReq(GetNextItemReq)
GetNextItemReq (9F 80 02).
GetNextItemAck(GetNextItemAck)
GetNextItemAck (9F 80 03).
StatusAck(StatusAck<'a>)
StatusAck (9F 80 04).
Implementations§
Trait Implementations§
Source§impl<'a> Clone for StatusQueryApdu<'a>
impl<'a> Clone for StatusQueryApdu<'a>
Source§impl<'a> Debug for StatusQueryApdu<'a>
impl<'a> Debug for StatusQueryApdu<'a>
impl<'a> Eq for StatusQueryApdu<'a>
Source§impl<'a> PartialEq for StatusQueryApdu<'a>
impl<'a> PartialEq for StatusQueryApdu<'a>
Source§impl<'a> Serialize for StatusQueryApdu<'a>
impl<'a> Serialize for StatusQueryApdu<'a>
Source§impl<'a> Serialize for StatusQueryApdu<'a>
impl<'a> Serialize for StatusQueryApdu<'a>
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.Source§fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
Write the serialised form into
buf. Returns the number of bytes
written (always equal to serialized_len()).impl<'a> StructuralPartialEq for StatusQueryApdu<'a>
Auto Trait Implementations§
impl<'a> Freeze for StatusQueryApdu<'a>
impl<'a> RefUnwindSafe for StatusQueryApdu<'a>
impl<'a> Send for StatusQueryApdu<'a>
impl<'a> Sync for StatusQueryApdu<'a>
impl<'a> Unpin for StatusQueryApdu<'a>
impl<'a> UnsafeUnpin for StatusQueryApdu<'a>
impl<'a> UnwindSafe for StatusQueryApdu<'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