#[repr(u8)]pub enum ExtendedCommand {
ExtendedBarcodeReply = 1,
ExtendedNoteSpecification = 2,
SetExtendedNoteInhibits = 3,
SetEscrowTimeout = 4,
QueryValueTable = 6,
NoteRetrieved = 11,
AdvancedBookmark = 13,
ClearAuditDataRequest = 29,
Reserved = 255,
}Expand description
Extended Commands (Type 7): The extended commands utilize message type 7 to provide functionality outside of the standard omnibus commands. The use of message type 7 is complicated by the fact that it can be used by either the host or device at anytime.
Developers: add additional types from the specification as needed
Variants§
ExtendedBarcodeReply = 1
ExtendedNoteSpecification = 2
SetExtendedNoteInhibits = 3
SetEscrowTimeout = 4
QueryValueTable = 6
NoteRetrieved = 11
AdvancedBookmark = 13
ClearAuditDataRequest = 29
Reserved = 255
Trait Implementations§
Source§impl Clone for ExtendedCommand
impl Clone for ExtendedCommand
Source§fn clone(&self) -> ExtendedCommand
fn clone(&self) -> ExtendedCommand
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 ExtendedCommand
Source§impl Debug for ExtendedCommand
impl Debug for ExtendedCommand
Source§impl Display for ExtendedCommand
impl Display for ExtendedCommand
Source§impl From<&ExtendedCommand> for u8
impl From<&ExtendedCommand> for u8
Source§fn from(e: &ExtendedCommand) -> Self
fn from(e: &ExtendedCommand) -> Self
Converts to this type from the input type.
Source§impl From<&ExtendedCommand> for &'static str
impl From<&ExtendedCommand> for &'static str
Source§fn from(e: &ExtendedCommand) -> Self
fn from(e: &ExtendedCommand) -> Self
Converts to this type from the input type.
Source§impl From<ExtendedCommand> for u8
impl From<ExtendedCommand> for u8
Source§fn from(e: ExtendedCommand) -> Self
fn from(e: ExtendedCommand) -> Self
Converts to this type from the input type.
Source§impl From<ExtendedCommand> for &'static str
impl From<ExtendedCommand> for &'static str
Source§fn from(e: ExtendedCommand) -> Self
fn from(e: ExtendedCommand) -> Self
Converts to this type from the input type.
Source§impl From<u8> for ExtendedCommand
impl From<u8> for ExtendedCommand
Source§impl PartialEq for ExtendedCommand
impl PartialEq for ExtendedCommand
Source§fn eq(&self, other: &ExtendedCommand) -> bool
fn eq(&self, other: &ExtendedCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExtendedCommand
Auto Trait Implementations§
impl Freeze for ExtendedCommand
impl RefUnwindSafe for ExtendedCommand
impl Send for ExtendedCommand
impl Sync for ExtendedCommand
impl Unpin for ExtendedCommand
impl UnsafeUnpin for ExtendedCommand
impl UnwindSafe for ExtendedCommand
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