Enum ctaphid_types::Command [−][src]
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)
Tuple Fields
A vendor command.
Unknown(u8)
Tuple Fields
0: u8
An unknown command.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Command
impl UnwindSafe for Command
Blanket Implementations
Mutably borrows from an owned value. Read more