pub struct LeAdvertisingReport { /* private fields */ }Implementations§
Source§impl LeAdvertisingReport
impl LeAdvertisingReport
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn get_event_code(&self) -> EventCode
pub fn get_responses(&self) -> &Vec<LeAdvertisingResponse>
pub fn get_subevent_code(&self) -> SubeventCode
pub fn get_size(&self) -> usize
Trait Implementations§
Source§impl Clone for LeAdvertisingReport
impl Clone for LeAdvertisingReport
Source§fn clone(&self) -> LeAdvertisingReport
fn clone(&self) -> LeAdvertisingReport
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 LeAdvertisingReport
impl Debug for LeAdvertisingReport
Source§impl From<LeAdvertisingReport> for Bytes
impl From<LeAdvertisingReport> for Bytes
Source§fn from(packet: LeAdvertisingReport) -> Self
fn from(packet: LeAdvertisingReport) -> Self
Converts to this type from the input type.
Source§impl From<LeAdvertisingReport> for Event
impl From<LeAdvertisingReport> for Event
Source§fn from(packet: LeAdvertisingReport) -> Event
fn from(packet: LeAdvertisingReport) -> Event
Converts to this type from the input type.
Source§impl From<LeAdvertisingReport> for LeMetaEvent
impl From<LeAdvertisingReport> for LeMetaEvent
Source§fn from(packet: LeAdvertisingReport) -> LeMetaEvent
fn from(packet: LeAdvertisingReport) -> LeMetaEvent
Converts to this type from the input type.
Source§impl From<LeAdvertisingReport> for Vec<u8>
impl From<LeAdvertisingReport> for Vec<u8>
Source§fn from(packet: LeAdvertisingReport) -> Self
fn from(packet: LeAdvertisingReport) -> Self
Converts to this type from the input type.
Source§impl From<LeAdvertisingReportBuilder> for LeAdvertisingReport
impl From<LeAdvertisingReportBuilder> for LeAdvertisingReport
Source§fn from(builder: LeAdvertisingReportBuilder) -> LeAdvertisingReport
fn from(builder: LeAdvertisingReportBuilder) -> LeAdvertisingReport
Converts to this type from the input type.
Source§impl Packet for LeAdvertisingReport
impl Packet for LeAdvertisingReport
Source§impl PartialEq for LeAdvertisingReport
impl PartialEq for LeAdvertisingReport
Source§impl TryFrom<Event> for LeAdvertisingReport
impl TryFrom<Event> for LeAdvertisingReport
impl Eq for LeAdvertisingReport
impl StructuralPartialEq for LeAdvertisingReport
Auto Trait Implementations§
impl !Freeze for LeAdvertisingReport
impl RefUnwindSafe for LeAdvertisingReport
impl Send for LeAdvertisingReport
impl Sync for LeAdvertisingReport
impl Unpin for LeAdvertisingReport
impl UnwindSafe for LeAdvertisingReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more