pub struct VendorCommand(/* private fields */);Expand description
A CTAPHID vendor command.
Implementations§
Source§impl VendorCommand
impl VendorCommand
Sourcepub const RANGE: RangeInclusive<u8>
pub const RANGE: RangeInclusive<u8>
The range for valid vendor command IDs.
Sourcepub const H40: VendorCommand
pub const H40: VendorCommand
The vendor-specific command with the ID 0x40.
Sourcepub const H41: VendorCommand
pub const H41: VendorCommand
The vendor-specific command with the ID 0x41.
Sourcepub const H42: VendorCommand
pub const H42: VendorCommand
The vendor-specific command with the ID 0x42.
Sourcepub const H43: VendorCommand
pub const H43: VendorCommand
The vendor-specific command with the ID 0x43.
Sourcepub const H44: VendorCommand
pub const H44: VendorCommand
The vendor-specific command with the ID 0x44.
Sourcepub const H45: VendorCommand
pub const H45: VendorCommand
The vendor-specific command with the ID 0x45.
Sourcepub const H46: VendorCommand
pub const H46: VendorCommand
The vendor-specific command with the ID 0x46.
Sourcepub const H47: VendorCommand
pub const H47: VendorCommand
The vendor-specific command with the ID 0x47.
Sourcepub const H48: VendorCommand
pub const H48: VendorCommand
The vendor-specific command with the ID 0x48.
Sourcepub const H49: VendorCommand
pub const H49: VendorCommand
The vendor-specific command with the ID 0x49.
Sourcepub const H4A: VendorCommand
pub const H4A: VendorCommand
The vendor-specific command with the ID 0x4a.
Sourcepub const H4B: VendorCommand
pub const H4B: VendorCommand
The vendor-specific command with the ID 0x4b.
Sourcepub const H4C: VendorCommand
pub const H4C: VendorCommand
The vendor-specific command with the ID 0x4c.
Sourcepub const H4D: VendorCommand
pub const H4D: VendorCommand
The vendor-specific command with the ID 0x4d.
Sourcepub const H4E: VendorCommand
pub const H4E: VendorCommand
The vendor-specific command with the ID 0x4e.
Sourcepub const H4F: VendorCommand
pub const H4F: VendorCommand
The vendor-specific command with the ID 0x4f.
Sourcepub const H50: VendorCommand
pub const H50: VendorCommand
The vendor-specific command with the ID 0x50.
Sourcepub const H51: VendorCommand
pub const H51: VendorCommand
The vendor-specific command with the ID 0x51.
Sourcepub const H52: VendorCommand
pub const H52: VendorCommand
The vendor-specific command with the ID 0x52.
Sourcepub const H53: VendorCommand
pub const H53: VendorCommand
The vendor-specific command with the ID 0x53.
Sourcepub const H54: VendorCommand
pub const H54: VendorCommand
The vendor-specific command with the ID 0x54.
Sourcepub const H55: VendorCommand
pub const H55: VendorCommand
The vendor-specific command with the ID 0x55.
Sourcepub const H56: VendorCommand
pub const H56: VendorCommand
The vendor-specific command with the ID 0x56.
Sourcepub const H57: VendorCommand
pub const H57: VendorCommand
The vendor-specific command with the ID 0x57.
Sourcepub const H58: VendorCommand
pub const H58: VendorCommand
The vendor-specific command with the ID 0x58.
Sourcepub const H59: VendorCommand
pub const H59: VendorCommand
The vendor-specific command with the ID 0x59.
Sourcepub const H5A: VendorCommand
pub const H5A: VendorCommand
The vendor-specific command with the ID 0x5a.
Sourcepub const H5B: VendorCommand
pub const H5B: VendorCommand
The vendor-specific command with the ID 0x5b.
Sourcepub const H5C: VendorCommand
pub const H5C: VendorCommand
The vendor-specific command with the ID 0x5c.
Sourcepub const H5D: VendorCommand
pub const H5D: VendorCommand
The vendor-specific command with the ID 0x5d.
Sourcepub const H5E: VendorCommand
pub const H5E: VendorCommand
The vendor-specific command with the ID 0x5e.
Sourcepub const H5F: VendorCommand
pub const H5F: VendorCommand
The vendor-specific command with the ID 0x5f.
Sourcepub const H60: VendorCommand
pub const H60: VendorCommand
The vendor-specific command with the ID 0x60.
Sourcepub const H61: VendorCommand
pub const H61: VendorCommand
The vendor-specific command with the ID 0x61.
Sourcepub const H62: VendorCommand
pub const H62: VendorCommand
The vendor-specific command with the ID 0x62.
Sourcepub const H63: VendorCommand
pub const H63: VendorCommand
The vendor-specific command with the ID 0x63.
Sourcepub const H64: VendorCommand
pub const H64: VendorCommand
The vendor-specific command with the ID 0x64.
Sourcepub const H65: VendorCommand
pub const H65: VendorCommand
The vendor-specific command with the ID 0x65.
Sourcepub const H66: VendorCommand
pub const H66: VendorCommand
The vendor-specific command with the ID 0x66.
Sourcepub const H67: VendorCommand
pub const H67: VendorCommand
The vendor-specific command with the ID 0x67.
Sourcepub const H68: VendorCommand
pub const H68: VendorCommand
The vendor-specific command with the ID 0x68.
Sourcepub const H69: VendorCommand
pub const H69: VendorCommand
The vendor-specific command with the ID 0x69.
Sourcepub const H6A: VendorCommand
pub const H6A: VendorCommand
The vendor-specific command with the ID 0x6a.
Sourcepub const H6B: VendorCommand
pub const H6B: VendorCommand
The vendor-specific command with the ID 0x6b.
Sourcepub const H6C: VendorCommand
pub const H6C: VendorCommand
The vendor-specific command with the ID 0x6c.
Sourcepub const H6D: VendorCommand
pub const H6D: VendorCommand
The vendor-specific command with the ID 0x6d.
Sourcepub const H6E: VendorCommand
pub const H6E: VendorCommand
The vendor-specific command with the ID 0x6e.
Sourcepub const H6F: VendorCommand
pub const H6F: VendorCommand
The vendor-specific command with the ID 0x6f.
Sourcepub const H70: VendorCommand
pub const H70: VendorCommand
The vendor-specific command with the ID 0x70.
Sourcepub const H71: VendorCommand
pub const H71: VendorCommand
The vendor-specific command with the ID 0x71.
Sourcepub const H72: VendorCommand
pub const H72: VendorCommand
The vendor-specific command with the ID 0x72.
Sourcepub const H73: VendorCommand
pub const H73: VendorCommand
The vendor-specific command with the ID 0x73.
Sourcepub const H74: VendorCommand
pub const H74: VendorCommand
The vendor-specific command with the ID 0x74.
Sourcepub const H75: VendorCommand
pub const H75: VendorCommand
The vendor-specific command with the ID 0x75.
Sourcepub const H76: VendorCommand
pub const H76: VendorCommand
The vendor-specific command with the ID 0x76.
Sourcepub const H77: VendorCommand
pub const H77: VendorCommand
The vendor-specific command with the ID 0x77.
Sourcepub const H78: VendorCommand
pub const H78: VendorCommand
The vendor-specific command with the ID 0x78.
Sourcepub const H79: VendorCommand
pub const H79: VendorCommand
The vendor-specific command with the ID 0x79.
Sourcepub const H7A: VendorCommand
pub const H7A: VendorCommand
The vendor-specific command with the ID 0x7a.
Sourcepub const H7B: VendorCommand
pub const H7B: VendorCommand
The vendor-specific command with the ID 0x7b.
Sourcepub const H7C: VendorCommand
pub const H7C: VendorCommand
The vendor-specific command with the ID 0x7c.
Sourcepub const H7D: VendorCommand
pub const H7D: VendorCommand
The vendor-specific command with the ID 0x7d.
Sourcepub const H7E: VendorCommand
pub const H7E: VendorCommand
The vendor-specific command with the ID 0x7e.
Sourcepub const H7F: VendorCommand
pub const H7F: VendorCommand
The vendor-specific command with the ID 0x7f.
Sourcepub fn new(id: u8) -> Option<Self>
pub fn new(id: u8) -> Option<Self>
Creates a new VendorCommand from the given command ID if it is within Self::RANGE.
Trait Implementations§
Source§impl Clone for VendorCommand
impl Clone for VendorCommand
Source§fn clone(&self) -> VendorCommand
fn clone(&self) -> VendorCommand
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more