pub struct LePhyUpdateComplete { /* private fields */ }Implementations§
Source§impl LePhyUpdateComplete
impl LePhyUpdateComplete
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn get_connection_handle(&self) -> u16
pub fn get_event_code(&self) -> EventCode
pub fn get_rx_phy(&self) -> PhyType
pub fn get_status(&self) -> ErrorCode
pub fn get_subevent_code(&self) -> SubeventCode
pub fn get_tx_phy(&self) -> PhyType
pub fn get_size(&self) -> usize
Trait Implementations§
Source§impl Clone for LePhyUpdateComplete
impl Clone for LePhyUpdateComplete
Source§fn clone(&self) -> LePhyUpdateComplete
fn clone(&self) -> LePhyUpdateComplete
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 LePhyUpdateComplete
impl Debug for LePhyUpdateComplete
Source§impl From<LePhyUpdateComplete> for Bytes
impl From<LePhyUpdateComplete> for Bytes
Source§fn from(packet: LePhyUpdateComplete) -> Self
fn from(packet: LePhyUpdateComplete) -> Self
Converts to this type from the input type.
Source§impl From<LePhyUpdateComplete> for Event
impl From<LePhyUpdateComplete> for Event
Source§fn from(packet: LePhyUpdateComplete) -> Event
fn from(packet: LePhyUpdateComplete) -> Event
Converts to this type from the input type.
Source§impl From<LePhyUpdateComplete> for LeMetaEvent
impl From<LePhyUpdateComplete> for LeMetaEvent
Source§fn from(packet: LePhyUpdateComplete) -> LeMetaEvent
fn from(packet: LePhyUpdateComplete) -> LeMetaEvent
Converts to this type from the input type.
Source§impl From<LePhyUpdateComplete> for Vec<u8>
impl From<LePhyUpdateComplete> for Vec<u8>
Source§fn from(packet: LePhyUpdateComplete) -> Self
fn from(packet: LePhyUpdateComplete) -> Self
Converts to this type from the input type.
Source§impl From<LePhyUpdateCompleteBuilder> for LePhyUpdateComplete
impl From<LePhyUpdateCompleteBuilder> for LePhyUpdateComplete
Source§fn from(builder: LePhyUpdateCompleteBuilder) -> LePhyUpdateComplete
fn from(builder: LePhyUpdateCompleteBuilder) -> LePhyUpdateComplete
Converts to this type from the input type.
Source§impl Packet for LePhyUpdateComplete
impl Packet for LePhyUpdateComplete
Source§impl PartialEq for LePhyUpdateComplete
impl PartialEq for LePhyUpdateComplete
Source§impl TryFrom<Event> for LePhyUpdateComplete
impl TryFrom<Event> for LePhyUpdateComplete
impl Eq for LePhyUpdateComplete
impl StructuralPartialEq for LePhyUpdateComplete
Auto Trait Implementations§
impl !Freeze for LePhyUpdateComplete
impl RefUnwindSafe for LePhyUpdateComplete
impl Send for LePhyUpdateComplete
impl Sync for LePhyUpdateComplete
impl Unpin for LePhyUpdateComplete
impl UnwindSafe for LePhyUpdateComplete
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