#[non_exhaustive]pub enum CaSupportApdu<'a> {
CaPmt(MsCaPmt<'a>),
CaPmtReply(MsCaPmtReply),
}Expand description
A parsed CI Plus multi-stream CA-support object.
There is intentionally no resource_id-keyed entry point for these
objects: TS 103 205 does not print the resource_id (see the module doc), so
dispatch is on the apdu_tag alone, for callers already in a multi-stream CA
Support session.
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.
CaPmt(MsCaPmt<'a>)
ca_pmt (9F 80 32), CI Plus multi-stream variant.
CaPmtReply(MsCaPmtReply)
ca_pmt_reply (9F 80 33), CI Plus multi-stream variant.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for CaSupportApdu<'a>
impl<'a> Clone for CaSupportApdu<'a>
Source§fn clone(&self) -> CaSupportApdu<'a>
fn clone(&self) -> CaSupportApdu<'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 CaSupportApdu<'a>
impl<'a> Debug for CaSupportApdu<'a>
impl<'a> Eq for CaSupportApdu<'a>
Source§impl<'a> PartialEq for CaSupportApdu<'a>
impl<'a> PartialEq for CaSupportApdu<'a>
Source§impl<'a> Serialize for CaSupportApdu<'a>
Available on crate feature serde only.
impl<'a> Serialize for CaSupportApdu<'a>
Available on crate feature
serde only.Source§impl Serialize for CaSupportApdu<'_>
impl Serialize for CaSupportApdu<'_>
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 CaSupportApdu<'a>
Auto Trait Implementations§
impl<'a> Freeze for CaSupportApdu<'a>
impl<'a> RefUnwindSafe for CaSupportApdu<'a>
impl<'a> Send for CaSupportApdu<'a>
impl<'a> Sync for CaSupportApdu<'a>
impl<'a> Unpin for CaSupportApdu<'a>
impl<'a> UnsafeUnpin for CaSupportApdu<'a>
impl<'a> UnwindSafe for CaSupportApdu<'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