#[repr(u8)]pub enum TxPowerLevel {
Current = 0,
Maximum = 1,
}
Expand description
For the read_tx_power_level
command, the allowed values for the
type of power level to read.
See the Bluetooth spec, Vol 2, Part E, Section 7.3.35.
Variants§
Trait Implementations§
Source§impl Clone for TxPowerLevel
impl Clone for TxPowerLevel
Source§fn clone(&self) -> TxPowerLevel
fn clone(&self) -> TxPowerLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TxPowerLevel
impl Debug for TxPowerLevel
Source§impl PartialEq for TxPowerLevel
impl PartialEq for TxPowerLevel
impl Copy for TxPowerLevel
impl StructuralPartialEq for TxPowerLevel
Auto Trait Implementations§
impl Freeze for TxPowerLevel
impl RefUnwindSafe for TxPowerLevel
impl Send for TxPowerLevel
impl Sync for TxPowerLevel
impl Unpin for TxPowerLevel
impl UnwindSafe for TxPowerLevel
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