#[non_exhaustive]pub enum CloseMmiCmdId {
Immediate,
Delay,
Reserved(u8),
}Expand description
close_mmi_cmd_id values (Table, p. 36).
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.
Immediate
00 — return to the previous display immediately.
Delay
01 — delay the return; the delay byte gives the delay in seconds.
Reserved(u8)
Any other value (reserved).
Implementations§
Trait Implementations§
Source§impl Clone for CloseMmiCmdId
impl Clone for CloseMmiCmdId
Source§fn clone(&self) -> CloseMmiCmdId
fn clone(&self) -> CloseMmiCmdId
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 CloseMmiCmdId
Source§impl Debug for CloseMmiCmdId
impl Debug for CloseMmiCmdId
Source§impl Display for CloseMmiCmdId
impl Display for CloseMmiCmdId
impl Eq for CloseMmiCmdId
Source§impl PartialEq for CloseMmiCmdId
impl PartialEq for CloseMmiCmdId
Source§impl Serialize for CloseMmiCmdId
Available on crate feature serde only.
impl Serialize for CloseMmiCmdId
Available on crate feature
serde only.impl StructuralPartialEq for CloseMmiCmdId
Auto Trait Implementations§
impl Freeze for CloseMmiCmdId
impl RefUnwindSafe for CloseMmiCmdId
impl Send for CloseMmiCmdId
impl Sync for CloseMmiCmdId
impl Unpin for CloseMmiCmdId
impl UnsafeUnpin for CloseMmiCmdId
impl UnwindSafe for CloseMmiCmdId
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