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