pub struct LeReadRemoteTransmitPowerLevelStatus { /* private fields */ }Implementations§
Source§impl LeReadRemoteTransmitPowerLevelStatus
impl LeReadRemoteTransmitPowerLevelStatus
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 LeReadRemoteTransmitPowerLevelStatus
impl Clone for LeReadRemoteTransmitPowerLevelStatus
Source§fn clone(&self) -> LeReadRemoteTransmitPowerLevelStatus
fn clone(&self) -> LeReadRemoteTransmitPowerLevelStatus
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 From<LeReadRemoteTransmitPowerLevelStatus> for Bytes
impl From<LeReadRemoteTransmitPowerLevelStatus> for Bytes
Source§fn from(packet: LeReadRemoteTransmitPowerLevelStatus) -> Self
fn from(packet: LeReadRemoteTransmitPowerLevelStatus) -> Self
Converts to this type from the input type.
Source§impl From<LeReadRemoteTransmitPowerLevelStatus> for CommandStatus
impl From<LeReadRemoteTransmitPowerLevelStatus> for CommandStatus
Source§fn from(packet: LeReadRemoteTransmitPowerLevelStatus) -> CommandStatus
fn from(packet: LeReadRemoteTransmitPowerLevelStatus) -> CommandStatus
Converts to this type from the input type.
Source§impl From<LeReadRemoteTransmitPowerLevelStatus> for Event
impl From<LeReadRemoteTransmitPowerLevelStatus> for Event
Source§fn from(packet: LeReadRemoteTransmitPowerLevelStatus) -> Event
fn from(packet: LeReadRemoteTransmitPowerLevelStatus) -> Event
Converts to this type from the input type.
Source§impl From<LeReadRemoteTransmitPowerLevelStatus> for Vec<u8>
impl From<LeReadRemoteTransmitPowerLevelStatus> for Vec<u8>
Source§fn from(packet: LeReadRemoteTransmitPowerLevelStatus) -> Self
fn from(packet: LeReadRemoteTransmitPowerLevelStatus) -> Self
Converts to this type from the input type.
Source§impl From<LeReadRemoteTransmitPowerLevelStatusBuilder> for LeReadRemoteTransmitPowerLevelStatus
impl From<LeReadRemoteTransmitPowerLevelStatusBuilder> for LeReadRemoteTransmitPowerLevelStatus
Source§fn from(
builder: LeReadRemoteTransmitPowerLevelStatusBuilder,
) -> LeReadRemoteTransmitPowerLevelStatus
fn from( builder: LeReadRemoteTransmitPowerLevelStatusBuilder, ) -> LeReadRemoteTransmitPowerLevelStatus
Converts to this type from the input type.
Source§impl PartialEq for LeReadRemoteTransmitPowerLevelStatus
impl PartialEq for LeReadRemoteTransmitPowerLevelStatus
Source§fn eq(&self, other: &LeReadRemoteTransmitPowerLevelStatus) -> bool
fn eq(&self, other: &LeReadRemoteTransmitPowerLevelStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeReadRemoteTransmitPowerLevelStatus
impl StructuralPartialEq for LeReadRemoteTransmitPowerLevelStatus
Auto Trait Implementations§
impl !Freeze for LeReadRemoteTransmitPowerLevelStatus
impl RefUnwindSafe for LeReadRemoteTransmitPowerLevelStatus
impl Send for LeReadRemoteTransmitPowerLevelStatus
impl Sync for LeReadRemoteTransmitPowerLevelStatus
impl Unpin for LeReadRemoteTransmitPowerLevelStatus
impl UnwindSafe for LeReadRemoteTransmitPowerLevelStatus
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