pub enum Command {
Message,
Cbor,
Init,
Ping,
Cancel,
Error,
KeepAlive,
Wink,
Lock,
Vendor(VendorCommand),
Unknown(u8),
}Expand description
A CTAPHID command.
Variants§
Message
The message command.
Cbor
The CBOR command.
Init
The init command.
Ping
The ping command.
Cancel
The cancel command.
Error
The error command.
KeepAlive
The keep alive command.
Wink
The wink command.
Lock
The lock command.
Vendor(VendorCommand)
A vendor command.
Unknown(u8)
An unknown command.
Trait Implementations§
Source§impl Ord for Command
impl Ord for Command
Source§impl PartialOrd for Command
impl PartialOrd for Command
impl Copy for Command
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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