#[non_exhaustive]pub enum CaPmtCmdId {
OkDescrambling,
OkMmi,
Query,
NotSelected,
Rfu(u8),
}Expand description
ca_pmt_cmd_id values (Table, p. 31).
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.
OkDescrambling
01 — application may start descrambling / MMI immediately.
OkMmi
02 — application may start MMI but not descrambling yet.
Query
03 — host expects a ca_pmt_reply.
NotSelected
04 — host no longer needs this application to descramble.
Rfu(u8)
Any other value (RFU).
Implementations§
Trait Implementations§
Source§impl Clone for CaPmtCmdId
impl Clone for CaPmtCmdId
Source§fn clone(&self) -> CaPmtCmdId
fn clone(&self) -> CaPmtCmdId
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 CaPmtCmdId
Source§impl Debug for CaPmtCmdId
impl Debug for CaPmtCmdId
Source§impl Display for CaPmtCmdId
impl Display for CaPmtCmdId
impl Eq for CaPmtCmdId
Source§impl PartialEq for CaPmtCmdId
impl PartialEq for CaPmtCmdId
Source§impl Serialize for CaPmtCmdId
Available on crate feature serde only.
impl Serialize for CaPmtCmdId
Available on crate feature
serde only.impl StructuralPartialEq for CaPmtCmdId
Auto Trait Implementations§
impl Freeze for CaPmtCmdId
impl RefUnwindSafe for CaPmtCmdId
impl Send for CaPmtCmdId
impl Sync for CaPmtCmdId
impl Unpin for CaPmtCmdId
impl UnsafeUnpin for CaPmtCmdId
impl UnwindSafe for CaPmtCmdId
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