Enum Brequest
#[repr(u8)]pub enum Brequest {
Show 256 variants
STD_GET_STATUS = 0,
STD_CLEAR_FEATURE = 1,
_RESERVED_2 = 2,
STD_SET_FEATURE = 3,
_RESERVED_4 = 4,
STD_SET_ADDRESS = 5,
STD_GET_DESCRIPTOR = 6,
STD_SET_DESCRIPTOR = 7,
STD_GET_CONFIGURATION = 8,
STD_SET_CONFIGURATION = 9,
STD_GET_INTERFACE = 10,
STD_SET_INTERFACE = 11,
STD_SYNCH_FRAME = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
_RESERVED_10 = 16,
_RESERVED_11 = 17,
_RESERVED_12 = 18,
_RESERVED_13 = 19,
_RESERVED_14 = 20,
_RESERVED_15 = 21,
_RESERVED_16 = 22,
_RESERVED_17 = 23,
_RESERVED_18 = 24,
_RESERVED_19 = 25,
_RESERVED_1a = 26,
_RESERVED_1b = 27,
_RESERVED_1c = 28,
_RESERVED_1d = 29,
_RESERVED_1e = 30,
_RESERVED_1f = 31,
_RESERVED_20 = 32,
_RESERVED_21 = 33,
_RESERVED_22 = 34,
_RESERVED_23 = 35,
_RESERVED_24 = 36,
_RESERVED_25 = 37,
_RESERVED_26 = 38,
_RESERVED_27 = 39,
_RESERVED_28 = 40,
_RESERVED_29 = 41,
_RESERVED_2a = 42,
_RESERVED_2b = 43,
_RESERVED_2c = 44,
_RESERVED_2d = 45,
_RESERVED_2e = 46,
_RESERVED_2f = 47,
_RESERVED_30 = 48,
_RESERVED_31 = 49,
_RESERVED_32 = 50,
_RESERVED_33 = 51,
_RESERVED_34 = 52,
_RESERVED_35 = 53,
_RESERVED_36 = 54,
_RESERVED_37 = 55,
_RESERVED_38 = 56,
_RESERVED_39 = 57,
_RESERVED_3a = 58,
_RESERVED_3b = 59,
_RESERVED_3c = 60,
_RESERVED_3d = 61,
_RESERVED_3e = 62,
_RESERVED_3f = 63,
_RESERVED_40 = 64,
_RESERVED_41 = 65,
_RESERVED_42 = 66,
_RESERVED_43 = 67,
_RESERVED_44 = 68,
_RESERVED_45 = 69,
_RESERVED_46 = 70,
_RESERVED_47 = 71,
_RESERVED_48 = 72,
_RESERVED_49 = 73,
_RESERVED_4a = 74,
_RESERVED_4b = 75,
_RESERVED_4c = 76,
_RESERVED_4d = 77,
_RESERVED_4e = 78,
_RESERVED_4f = 79,
_RESERVED_50 = 80,
_RESERVED_51 = 81,
_RESERVED_52 = 82,
_RESERVED_53 = 83,
_RESERVED_54 = 84,
_RESERVED_55 = 85,
_RESERVED_56 = 86,
_RESERVED_57 = 87,
_RESERVED_58 = 88,
_RESERVED_59 = 89,
_RESERVED_5a = 90,
_RESERVED_5b = 91,
_RESERVED_5c = 92,
_RESERVED_5d = 93,
_RESERVED_5e = 94,
_RESERVED_5f = 95,
_RESERVED_60 = 96,
_RESERVED_61 = 97,
_RESERVED_62 = 98,
_RESERVED_63 = 99,
_RESERVED_64 = 100,
_RESERVED_65 = 101,
_RESERVED_66 = 102,
_RESERVED_67 = 103,
_RESERVED_68 = 104,
_RESERVED_69 = 105,
_RESERVED_6a = 106,
_RESERVED_6b = 107,
_RESERVED_6c = 108,
_RESERVED_6d = 109,
_RESERVED_6e = 110,
_RESERVED_6f = 111,
_RESERVED_70 = 112,
_RESERVED_71 = 113,
_RESERVED_72 = 114,
_RESERVED_73 = 115,
_RESERVED_74 = 116,
_RESERVED_75 = 117,
_RESERVED_76 = 118,
_RESERVED_77 = 119,
_RESERVED_78 = 120,
_RESERVED_79 = 121,
_RESERVED_7a = 122,
_RESERVED_7b = 123,
_RESERVED_7c = 124,
_RESERVED_7d = 125,
_RESERVED_7e = 126,
_RESERVED_7f = 127,
_RESERVED_80 = 128,
_RESERVED_81 = 129,
_RESERVED_82 = 130,
_RESERVED_83 = 131,
_RESERVED_84 = 132,
_RESERVED_85 = 133,
_RESERVED_86 = 134,
_RESERVED_87 = 135,
_RESERVED_88 = 136,
_RESERVED_89 = 137,
_RESERVED_8a = 138,
_RESERVED_8b = 139,
_RESERVED_8c = 140,
_RESERVED_8d = 141,
_RESERVED_8e = 142,
_RESERVED_8f = 143,
_RESERVED_90 = 144,
_RESERVED_91 = 145,
_RESERVED_92 = 146,
_RESERVED_93 = 147,
_RESERVED_94 = 148,
_RESERVED_95 = 149,
_RESERVED_96 = 150,
_RESERVED_97 = 151,
_RESERVED_98 = 152,
_RESERVED_99 = 153,
_RESERVED_9a = 154,
_RESERVED_9b = 155,
_RESERVED_9c = 156,
_RESERVED_9d = 157,
_RESERVED_9e = 158,
_RESERVED_9f = 159,
_RESERVED_a0 = 160,
_RESERVED_a1 = 161,
_RESERVED_a2 = 162,
_RESERVED_a3 = 163,
_RESERVED_a4 = 164,
_RESERVED_a5 = 165,
_RESERVED_a6 = 166,
_RESERVED_a7 = 167,
_RESERVED_a8 = 168,
_RESERVED_a9 = 169,
_RESERVED_aa = 170,
_RESERVED_ab = 171,
_RESERVED_ac = 172,
_RESERVED_ad = 173,
_RESERVED_ae = 174,
_RESERVED_af = 175,
_RESERVED_b0 = 176,
_RESERVED_b1 = 177,
_RESERVED_b2 = 178,
_RESERVED_b3 = 179,
_RESERVED_b4 = 180,
_RESERVED_b5 = 181,
_RESERVED_b6 = 182,
_RESERVED_b7 = 183,
_RESERVED_b8 = 184,
_RESERVED_b9 = 185,
_RESERVED_ba = 186,
_RESERVED_bb = 187,
_RESERVED_bc = 188,
_RESERVED_bd = 189,
_RESERVED_be = 190,
_RESERVED_bf = 191,
_RESERVED_c0 = 192,
_RESERVED_c1 = 193,
_RESERVED_c2 = 194,
_RESERVED_c3 = 195,
_RESERVED_c4 = 196,
_RESERVED_c5 = 197,
_RESERVED_c6 = 198,
_RESERVED_c7 = 199,
_RESERVED_c8 = 200,
_RESERVED_c9 = 201,
_RESERVED_ca = 202,
_RESERVED_cb = 203,
_RESERVED_cc = 204,
_RESERVED_cd = 205,
_RESERVED_ce = 206,
_RESERVED_cf = 207,
_RESERVED_d0 = 208,
_RESERVED_d1 = 209,
_RESERVED_d2 = 210,
_RESERVED_d3 = 211,
_RESERVED_d4 = 212,
_RESERVED_d5 = 213,
_RESERVED_d6 = 214,
_RESERVED_d7 = 215,
_RESERVED_d8 = 216,
_RESERVED_d9 = 217,
_RESERVED_da = 218,
_RESERVED_db = 219,
_RESERVED_dc = 220,
_RESERVED_dd = 221,
_RESERVED_de = 222,
_RESERVED_df = 223,
_RESERVED_e0 = 224,
_RESERVED_e1 = 225,
_RESERVED_e2 = 226,
_RESERVED_e3 = 227,
_RESERVED_e4 = 228,
_RESERVED_e5 = 229,
_RESERVED_e6 = 230,
_RESERVED_e7 = 231,
_RESERVED_e8 = 232,
_RESERVED_e9 = 233,
_RESERVED_ea = 234,
_RESERVED_eb = 235,
_RESERVED_ec = 236,
_RESERVED_ed = 237,
_RESERVED_ee = 238,
_RESERVED_ef = 239,
_RESERVED_f0 = 240,
_RESERVED_f1 = 241,
_RESERVED_f2 = 242,
_RESERVED_f3 = 243,
_RESERVED_f4 = 244,
_RESERVED_f5 = 245,
_RESERVED_f6 = 246,
_RESERVED_f7 = 247,
_RESERVED_f8 = 248,
_RESERVED_f9 = 249,
_RESERVED_fa = 250,
_RESERVED_fb = 251,
_RESERVED_fc = 252,
_RESERVED_fd = 253,
_RESERVED_fe = 254,
_RESERVED_ff = 255,
}
Variants§
STD_GET_STATUS = 0
Standard request GET_STATUS
STD_CLEAR_FEATURE = 1
Standard request CLEAR_FEATURE
_RESERVED_2 = 2
STD_SET_FEATURE = 3
Standard request SET_FEATURE
_RESERVED_4 = 4
STD_SET_ADDRESS = 5
Standard request SET_ADDRESS
STD_GET_DESCRIPTOR = 6
Standard request GET_DESCRIPTOR
STD_SET_DESCRIPTOR = 7
Standard request SET_DESCRIPTOR
STD_GET_CONFIGURATION = 8
Standard request GET_CONFIGURATION
STD_SET_CONFIGURATION = 9
Standard request SET_CONFIGURATION
STD_GET_INTERFACE = 10
Standard request GET_INTERFACE
STD_SET_INTERFACE = 11
Standard request SET_INTERFACE
STD_SYNCH_FRAME = 12
Standard request SYNCH_FRAME
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
_RESERVED_10 = 16
_RESERVED_11 = 17
_RESERVED_12 = 18
_RESERVED_13 = 19
_RESERVED_14 = 20
_RESERVED_15 = 21
_RESERVED_16 = 22
_RESERVED_17 = 23
_RESERVED_18 = 24
_RESERVED_19 = 25
_RESERVED_1a = 26
_RESERVED_1b = 27
_RESERVED_1c = 28
_RESERVED_1d = 29
_RESERVED_1e = 30
_RESERVED_1f = 31
_RESERVED_20 = 32
_RESERVED_21 = 33
_RESERVED_22 = 34
_RESERVED_23 = 35
_RESERVED_24 = 36
_RESERVED_25 = 37
_RESERVED_26 = 38
_RESERVED_27 = 39
_RESERVED_28 = 40
_RESERVED_29 = 41
_RESERVED_2a = 42
_RESERVED_2b = 43
_RESERVED_2c = 44
_RESERVED_2d = 45
_RESERVED_2e = 46
_RESERVED_2f = 47
_RESERVED_30 = 48
_RESERVED_31 = 49
_RESERVED_32 = 50
_RESERVED_33 = 51
_RESERVED_34 = 52
_RESERVED_35 = 53
_RESERVED_36 = 54
_RESERVED_37 = 55
_RESERVED_38 = 56
_RESERVED_39 = 57
_RESERVED_3a = 58
_RESERVED_3b = 59
_RESERVED_3c = 60
_RESERVED_3d = 61
_RESERVED_3e = 62
_RESERVED_3f = 63
_RESERVED_40 = 64
_RESERVED_41 = 65
_RESERVED_42 = 66
_RESERVED_43 = 67
_RESERVED_44 = 68
_RESERVED_45 = 69
_RESERVED_46 = 70
_RESERVED_47 = 71
_RESERVED_48 = 72
_RESERVED_49 = 73
_RESERVED_4a = 74
_RESERVED_4b = 75
_RESERVED_4c = 76
_RESERVED_4d = 77
_RESERVED_4e = 78
_RESERVED_4f = 79
_RESERVED_50 = 80
_RESERVED_51 = 81
_RESERVED_52 = 82
_RESERVED_53 = 83
_RESERVED_54 = 84
_RESERVED_55 = 85
_RESERVED_56 = 86
_RESERVED_57 = 87
_RESERVED_58 = 88
_RESERVED_59 = 89
_RESERVED_5a = 90
_RESERVED_5b = 91
_RESERVED_5c = 92
_RESERVED_5d = 93
_RESERVED_5e = 94
_RESERVED_5f = 95
_RESERVED_60 = 96
_RESERVED_61 = 97
_RESERVED_62 = 98
_RESERVED_63 = 99
_RESERVED_64 = 100
_RESERVED_65 = 101
_RESERVED_66 = 102
_RESERVED_67 = 103
_RESERVED_68 = 104
_RESERVED_69 = 105
_RESERVED_6a = 106
_RESERVED_6b = 107
_RESERVED_6c = 108
_RESERVED_6d = 109
_RESERVED_6e = 110
_RESERVED_6f = 111
_RESERVED_70 = 112
_RESERVED_71 = 113
_RESERVED_72 = 114
_RESERVED_73 = 115
_RESERVED_74 = 116
_RESERVED_75 = 117
_RESERVED_76 = 118
_RESERVED_77 = 119
_RESERVED_78 = 120
_RESERVED_79 = 121
_RESERVED_7a = 122
_RESERVED_7b = 123
_RESERVED_7c = 124
_RESERVED_7d = 125
_RESERVED_7e = 126
_RESERVED_7f = 127
_RESERVED_80 = 128
_RESERVED_81 = 129
_RESERVED_82 = 130
_RESERVED_83 = 131
_RESERVED_84 = 132
_RESERVED_85 = 133
_RESERVED_86 = 134
_RESERVED_87 = 135
_RESERVED_88 = 136
_RESERVED_89 = 137
_RESERVED_8a = 138
_RESERVED_8b = 139
_RESERVED_8c = 140
_RESERVED_8d = 141
_RESERVED_8e = 142
_RESERVED_8f = 143
_RESERVED_90 = 144
_RESERVED_91 = 145
_RESERVED_92 = 146
_RESERVED_93 = 147
_RESERVED_94 = 148
_RESERVED_95 = 149
_RESERVED_96 = 150
_RESERVED_97 = 151
_RESERVED_98 = 152
_RESERVED_99 = 153
_RESERVED_9a = 154
_RESERVED_9b = 155
_RESERVED_9c = 156
_RESERVED_9d = 157
_RESERVED_9e = 158
_RESERVED_9f = 159
_RESERVED_a0 = 160
_RESERVED_a1 = 161
_RESERVED_a2 = 162
_RESERVED_a3 = 163
_RESERVED_a4 = 164
_RESERVED_a5 = 165
_RESERVED_a6 = 166
_RESERVED_a7 = 167
_RESERVED_a8 = 168
_RESERVED_a9 = 169
_RESERVED_aa = 170
_RESERVED_ab = 171
_RESERVED_ac = 172
_RESERVED_ad = 173
_RESERVED_ae = 174
_RESERVED_af = 175
_RESERVED_b0 = 176
_RESERVED_b1 = 177
_RESERVED_b2 = 178
_RESERVED_b3 = 179
_RESERVED_b4 = 180
_RESERVED_b5 = 181
_RESERVED_b6 = 182
_RESERVED_b7 = 183
_RESERVED_b8 = 184
_RESERVED_b9 = 185
_RESERVED_ba = 186
_RESERVED_bb = 187
_RESERVED_bc = 188
_RESERVED_bd = 189
_RESERVED_be = 190
_RESERVED_bf = 191
_RESERVED_c0 = 192
_RESERVED_c1 = 193
_RESERVED_c2 = 194
_RESERVED_c3 = 195
_RESERVED_c4 = 196
_RESERVED_c5 = 197
_RESERVED_c6 = 198
_RESERVED_c7 = 199
_RESERVED_c8 = 200
_RESERVED_c9 = 201
_RESERVED_ca = 202
_RESERVED_cb = 203
_RESERVED_cc = 204
_RESERVED_cd = 205
_RESERVED_ce = 206
_RESERVED_cf = 207
_RESERVED_d0 = 208
_RESERVED_d1 = 209
_RESERVED_d2 = 210
_RESERVED_d3 = 211
_RESERVED_d4 = 212
_RESERVED_d5 = 213
_RESERVED_d6 = 214
_RESERVED_d7 = 215
_RESERVED_d8 = 216
_RESERVED_d9 = 217
_RESERVED_da = 218
_RESERVED_db = 219
_RESERVED_dc = 220
_RESERVED_dd = 221
_RESERVED_de = 222
_RESERVED_df = 223
_RESERVED_e0 = 224
_RESERVED_e1 = 225
_RESERVED_e2 = 226
_RESERVED_e3 = 227
_RESERVED_e4 = 228
_RESERVED_e5 = 229
_RESERVED_e6 = 230
_RESERVED_e7 = 231
_RESERVED_e8 = 232
_RESERVED_e9 = 233
_RESERVED_ea = 234
_RESERVED_eb = 235
_RESERVED_ec = 236
_RESERVED_ed = 237
_RESERVED_ee = 238
_RESERVED_ef = 239
_RESERVED_f0 = 240
_RESERVED_f1 = 241
_RESERVED_f2 = 242
_RESERVED_f3 = 243
_RESERVED_f4 = 244
_RESERVED_f5 = 245
_RESERVED_f6 = 246
_RESERVED_f7 = 247
_RESERVED_f8 = 248
_RESERVED_f9 = 249
_RESERVED_fa = 250
_RESERVED_fb = 251
_RESERVED_fc = 252
_RESERVED_fd = 253
_RESERVED_fe = 254
_RESERVED_ff = 255
Implementations§
Trait Implementations§
§impl Ord for Brequest
impl Ord for Brequest
§impl PartialOrd for Brequest
impl PartialOrd for Brequest
impl Copy for Brequest
impl Eq for Brequest
impl StructuralPartialEq for Brequest
Auto Trait Implementations§
impl Freeze for Brequest
impl RefUnwindSafe for Brequest
impl Send for Brequest
impl Sync for Brequest
impl Unpin for Brequest
impl UnwindSafe for Brequest
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.