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