Struct stm32wb_hci::event::command::LeAdvertisingChannelTxPower
source · pub struct LeAdvertisingChannelTxPower<VS> {
pub status: Status<VS>,
pub power: i8,
}Expand description
Values returned by the LE Read Advertising Channel TX Power command.
Fields§
§status: Status<VS>Did the command fail, and if so, how?
power: i8The transmit power of the advertising channel.
- Range: -20 ≤ N ≤ 10 (this is not enforced in this implementation)
- Units: dBm
- Accuracy: ±4 dB
Trait Implementations§
source§impl<VS: Clone> Clone for LeAdvertisingChannelTxPower<VS>
impl<VS: Clone> Clone for LeAdvertisingChannelTxPower<VS>
source§fn clone(&self) -> LeAdvertisingChannelTxPower<VS>
fn clone(&self) -> LeAdvertisingChannelTxPower<VS>
Returns a copy 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<VS: Debug> Debug for LeAdvertisingChannelTxPower<VS>
impl<VS: Debug> Debug for LeAdvertisingChannelTxPower<VS>
impl<VS: Copy> Copy for LeAdvertisingChannelTxPower<VS>
Auto Trait Implementations§
impl<VS> RefUnwindSafe for LeAdvertisingChannelTxPower<VS>where VS: RefUnwindSafe,
impl<VS> Send for LeAdvertisingChannelTxPower<VS>where VS: Send,
impl<VS> Sync for LeAdvertisingChannelTxPower<VS>where VS: Sync,
impl<VS> Unpin for LeAdvertisingChannelTxPower<VS>where VS: Unpin,
impl<VS> UnwindSafe for LeAdvertisingChannelTxPower<VS>where VS: UnwindSafe,
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