#[repr(C, packed(1))]
pub struct ext_adv_report {Show 13 fields
pub evt_type: u16,
pub addr_type: u8,
pub addr: [u8; 6],
pub pri_phy: u8,
pub sec_phy: u8,
pub sid: u8,
pub tx_power: i8,
pub rssi: i8,
pub periodic_itvl: u16,
pub dir_addr_type: u8,
pub dir_addr: [u8; 6],
pub data_len: u8,
pub data: __IncompleteArrayField<u8>,
}
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
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.