pub struct LeDirectedAdvertisingReportParam(/* private fields */);
Expand description
LeDirectedAdvertisingReportParam
Implementations§
Source§impl LeDirectedAdvertisingReportParam
impl LeDirectedAdvertisingReportParam
Sourcepub fn event_type(&self) -> Result<u8, FromHciBytesError>
pub fn event_type(&self) -> Result<u8, FromHciBytesError>
Get value of event_type
Sourcepub fn addr_kind(&self) -> Result<AddrKind, FromHciBytesError>
pub fn addr_kind(&self) -> Result<AddrKind, FromHciBytesError>
Get value of addr_kind
Sourcepub fn addr(&self) -> Result<BdAddr, FromHciBytesError>
pub fn addr(&self) -> Result<BdAddr, FromHciBytesError>
Get value of addr
Sourcepub fn direct_addr_kind(&self) -> Result<AddrKind, FromHciBytesError>
pub fn direct_addr_kind(&self) -> Result<AddrKind, FromHciBytesError>
Get value of direct_addr_kind
Sourcepub fn direct_addr(&self) -> Result<BdAddr, FromHciBytesError>
pub fn direct_addr(&self) -> Result<BdAddr, FromHciBytesError>
Get value of direct_addr
Sourcepub fn rssi(&self) -> Result<i8, FromHciBytesError>
pub fn rssi(&self) -> Result<i8, FromHciBytesError>
Get value of rssi
Trait Implementations§
Source§impl Clone for LeDirectedAdvertisingReportParam
impl Clone for LeDirectedAdvertisingReportParam
Source§fn clone(&self) -> LeDirectedAdvertisingReportParam
fn clone(&self) -> LeDirectedAdvertisingReportParam
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 Default for LeDirectedAdvertisingReportParam
impl Default for LeDirectedAdvertisingReportParam
Source§fn default() -> LeDirectedAdvertisingReportParam
fn default() -> LeDirectedAdvertisingReportParam
Returns the “default value” for a type. Read more
Source§impl Ord for LeDirectedAdvertisingReportParam
impl Ord for LeDirectedAdvertisingReportParam
Source§fn cmp(&self, other: &LeDirectedAdvertisingReportParam) -> Ordering
fn cmp(&self, other: &LeDirectedAdvertisingReportParam) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LeDirectedAdvertisingReportParam
impl PartialEq for LeDirectedAdvertisingReportParam
Source§fn eq(&self, other: &LeDirectedAdvertisingReportParam) -> bool
fn eq(&self, other: &LeDirectedAdvertisingReportParam) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for LeDirectedAdvertisingReportParam
impl PartialOrd for LeDirectedAdvertisingReportParam
impl Copy for LeDirectedAdvertisingReportParam
impl Eq for LeDirectedAdvertisingReportParam
impl StructuralPartialEq for LeDirectedAdvertisingReportParam
Auto Trait Implementations§
impl Freeze for LeDirectedAdvertisingReportParam
impl RefUnwindSafe for LeDirectedAdvertisingReportParam
impl Send for LeDirectedAdvertisingReportParam
impl Sync for LeDirectedAdvertisingReportParam
impl Unpin for LeDirectedAdvertisingReportParam
impl UnwindSafe for LeDirectedAdvertisingReportParam
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