ctaphid_app

Enum VendorCommand

Source
#[repr(u8)]
pub enum VendorCommand {
Show 64 variants H40 = 64, H41 = 65, H42 = 66, H43 = 67, H44 = 68, H45 = 69, H46 = 70, H47 = 71, H48 = 72, H49 = 73, H4A = 74, H4B = 75, H4C = 76, H4D = 77, H4E = 78, H4F = 79, H50 = 80, H51 = 81, H52 = 82, H53 = 83, H54 = 84, H55 = 85, H56 = 86, H57 = 87, H58 = 88, H59 = 89, H5A = 90, H5B = 91, H5C = 92, H5D = 93, H5E = 94, H5F = 95, H60 = 96, H61 = 97, H62 = 98, H63 = 99, H64 = 100, H65 = 101, H66 = 102, H67 = 103, H68 = 104, H69 = 105, H6A = 106, H6B = 107, H6C = 108, H6D = 109, H6E = 110, H6F = 111, H70 = 112, H71 = 113, H72 = 114, H73 = 115, H74 = 116, H75 = 117, H76 = 118, H77 = 119, H78 = 120, H79 = 121, H7A = 122, H7B = 123, H7C = 124, H7D = 125, H7E = 126, H7F = 127,
}
Expand description

Vendor CTAPHID commands, from 0x40 to 0x7f.

Variants§

§

H40 = 64

§

H41 = 65

§

H42 = 66

§

H43 = 67

§

H44 = 68

§

H45 = 69

§

H46 = 70

§

H47 = 71

§

H48 = 72

§

H49 = 73

§

H4A = 74

§

H4B = 75

§

H4C = 76

§

H4D = 77

§

H4E = 78

§

H4F = 79

§

H50 = 80

§

H51 = 81

§

H52 = 82

§

H53 = 83

§

H54 = 84

§

H55 = 85

§

H56 = 86

§

H57 = 87

§

H58 = 88

§

H59 = 89

§

H5A = 90

§

H5B = 91

§

H5C = 92

§

H5D = 93

§

H5E = 94

§

H5F = 95

§

H60 = 96

§

H61 = 97

§

H62 = 98

§

H63 = 99

§

H64 = 100

§

H65 = 101

§

H66 = 102

§

H67 = 103

§

H68 = 104

§

H69 = 105

§

H6A = 106

§

H6B = 107

§

H6C = 108

§

H6D = 109

§

H6E = 110

§

H6F = 111

§

H70 = 112

§

H71 = 113

§

H72 = 114

§

H73 = 115

§

H74 = 116

§

H75 = 117

§

H76 = 118

§

H77 = 119

§

H78 = 120

§

H79 = 121

§

H7A = 122

§

H7B = 123

§

H7C = 124

§

H7D = 125

§

H7E = 126

§

H7F = 127

Implementations§

Source§

impl VendorCommand

Source

pub const FIRST: u8 = 64u8

Source

pub const LAST: u8 = 127u8

Trait Implementations§

Source§

impl Clone for VendorCommand

Source§

fn clone(&self) -> VendorCommand

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for VendorCommand

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for VendorCommand

Source§

fn eq(&self, other: &VendorCommand) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u8> for VendorCommand

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(from: u8) -> Result<Self, ()>

Performs the conversion.
Source§

impl Copy for VendorCommand

Source§

impl Eq for VendorCommand

Source§

impl StructuralPartialEq for VendorCommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.