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