#[non_exhaustive]pub enum SampleDecryptionApdu<'a> {
SdInfoReq(SdInfoReq),
SdInfoReply(SdInfoReply),
SdStart(SdStart<'a>),
SdStartReply(SdStartReply),
SdUpdate(SdUpdate<'a>),
SdUpdateReply(SdUpdateReply),
}Expand description
Resource-scoped dispatch over the Sample decryption resource 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.
SdInfoReq(SdInfoReq)
sd_info_req (9F 98 00).
SdInfoReply(SdInfoReply)
sd_info_reply (9F 98 01).
SdStart(SdStart<'a>)
sd_start (9F 98 02).
SdStartReply(SdStartReply)
sd_start_reply (9F 98 03).
SdUpdate(SdUpdate<'a>)
sd_update (9F 98 04).
SdUpdateReply(SdUpdateReply)
sd_update_reply (9F 98 05).
Implementations§
Trait Implementations§
Source§impl<'a> Clone for SampleDecryptionApdu<'a>
impl<'a> Clone for SampleDecryptionApdu<'a>
Source§fn clone(&self) -> SampleDecryptionApdu<'a>
fn clone(&self) -> SampleDecryptionApdu<'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 SampleDecryptionApdu<'a>
impl<'a> Debug for SampleDecryptionApdu<'a>
impl<'a> Eq for SampleDecryptionApdu<'a>
Source§impl<'a> PartialEq for SampleDecryptionApdu<'a>
impl<'a> PartialEq for SampleDecryptionApdu<'a>
Source§impl<'a> Serialize for SampleDecryptionApdu<'a>
Available on crate feature serde only.
impl<'a> Serialize for SampleDecryptionApdu<'a>
Available on crate feature
serde only.Source§impl Serialize for SampleDecryptionApdu<'_>
impl Serialize for SampleDecryptionApdu<'_>
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 SampleDecryptionApdu<'a>
Auto Trait Implementations§
impl<'a> Freeze for SampleDecryptionApdu<'a>
impl<'a> RefUnwindSafe for SampleDecryptionApdu<'a>
impl<'a> Send for SampleDecryptionApdu<'a>
impl<'a> Sync for SampleDecryptionApdu<'a>
impl<'a> Unpin for SampleDecryptionApdu<'a>
impl<'a> UnsafeUnpin for SampleDecryptionApdu<'a>
impl<'a> UnwindSafe for SampleDecryptionApdu<'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