Enum TxPower
#[repr(u8)]pub enum TxPower {
Show 256 variants
_0_DBM = 0,
_RESERVED_1 = 1,
POS2_DBM = 2,
POS3_DBM = 3,
POS4_DBM = 4,
POS5_DBM = 5,
POS6_DBM = 6,
POS7_DBM = 7,
POS8_DBM = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 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,
NEG40_DBM = 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,
NEG30_DBM = 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,
NEG20_DBM = 236,
_RESERVED_ed = 237,
_RESERVED_ee = 238,
_RESERVED_ef = 239,
NEG16_DBM = 240,
_RESERVED_f1 = 241,
_RESERVED_f2 = 242,
_RESERVED_f3 = 243,
NEG12_DBM = 244,
_RESERVED_f5 = 245,
_RESERVED_f6 = 246,
_RESERVED_f7 = 247,
NEG8_DBM = 248,
_RESERVED_f9 = 249,
_RESERVED_fa = 250,
_RESERVED_fb = 251,
NEG4_DBM = 252,
_RESERVED_fd = 253,
_RESERVED_fe = 254,
_RESERVED_ff = 255,
}
Variants§
_0_DBM = 0
0 dBm
_RESERVED_1 = 1
POS2_DBM = 2
+2 dBm
POS3_DBM = 3
+3 dBm
POS4_DBM = 4
+4 dBm
POS5_DBM = 5
+5 dBm
POS6_DBM = 6
+6 dBm
POS7_DBM = 7
+7 dBm
POS8_DBM = 8
+8 dBm
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 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
NEG40_DBM = 216
-40 dBm
_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
NEG30_DBM = 226
Deprecated enumerator - -40 dBm
_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
NEG20_DBM = 236
-20 dBm
_RESERVED_ed = 237
_RESERVED_ee = 238
_RESERVED_ef = 239
NEG16_DBM = 240
-16 dBm
_RESERVED_f1 = 241
_RESERVED_f2 = 242
_RESERVED_f3 = 243
NEG12_DBM = 244
-12 dBm
_RESERVED_f5 = 245
_RESERVED_f6 = 246
_RESERVED_f7 = 247
NEG8_DBM = 248
-8 dBm
_RESERVED_f9 = 249
_RESERVED_fa = 250
_RESERVED_fb = 251
NEG4_DBM = 252
-4 dBm
_RESERVED_fd = 253
_RESERVED_fe = 254
_RESERVED_ff = 255
Implementations§
Trait Implementations§
§impl Ord for Txpower
impl Ord for Txpower
§impl PartialOrd for Txpower
impl PartialOrd for Txpower
impl Copy for Txpower
impl Eq for Txpower
impl StructuralPartialEq for Txpower
Auto Trait Implementations§
impl Freeze for Txpower
impl RefUnwindSafe for Txpower
impl Send for Txpower
impl Sync for Txpower
impl Unpin for Txpower
impl UnwindSafe for Txpower
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.