pub enum TxPower {
Show 14 variants Pos8dBm, Pos7dBm, Pos6dBm, Pos5dBm, Pos4dBm, Pos3dBm, Pos2dBm, _0dBm, Neg4dBm, Neg8dBm, Neg12dBm, Neg16dBm, Neg20dBm, Neg40dBm,
}
Expand description

Transmission power in dBm (decibel milliwatt)

Variants

Pos8dBm

+8 dBm

Pos7dBm

+7 dBm

Pos6dBm

+6 dBm (~4 mW)

Pos5dBm

+5 dBm

Pos4dBm

+4 dBm

Pos3dBm

+3 dBm (~2 mW)

Pos2dBm

+2 dBm

_0dBm

0 dBm (1 mW)

Neg4dBm

-4 dBm

Neg8dBm

-8 dBm

Neg12dBm

-12 dBm

Neg16dBm

-16 dBm

Neg20dBm

-20 dBm (10 μW)

Neg40dBm

-40 dBm (0.1 μW)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Returns the argument unchanged.

Calls U::from(self).

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

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.