pub struct LeApcfManufacturerDataComplete { /* private fields */ }Implementations§
Source§impl LeApcfManufacturerDataComplete
impl LeApcfManufacturerDataComplete
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn get_apcf_action(&self) -> ApcfAction
pub fn get_apcf_available_spaces(&self) -> u8
pub fn get_apcf_opcode(&self) -> ApcfOpcode
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 LeApcfManufacturerDataComplete
impl Clone for LeApcfManufacturerDataComplete
Source§fn clone(&self) -> LeApcfManufacturerDataComplete
fn clone(&self) -> LeApcfManufacturerDataComplete
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<LeApcfManufacturerDataComplete> for Bytes
impl From<LeApcfManufacturerDataComplete> for Bytes
Source§fn from(packet: LeApcfManufacturerDataComplete) -> Self
fn from(packet: LeApcfManufacturerDataComplete) -> Self
Converts to this type from the input type.
Source§impl From<LeApcfManufacturerDataComplete> for CommandComplete
impl From<LeApcfManufacturerDataComplete> for CommandComplete
Source§fn from(packet: LeApcfManufacturerDataComplete) -> CommandComplete
fn from(packet: LeApcfManufacturerDataComplete) -> CommandComplete
Converts to this type from the input type.
Source§impl From<LeApcfManufacturerDataComplete> for Event
impl From<LeApcfManufacturerDataComplete> for Event
Source§fn from(packet: LeApcfManufacturerDataComplete) -> Event
fn from(packet: LeApcfManufacturerDataComplete) -> Event
Converts to this type from the input type.
Source§impl From<LeApcfManufacturerDataComplete> for LeApcfComplete
impl From<LeApcfManufacturerDataComplete> for LeApcfComplete
Source§fn from(packet: LeApcfManufacturerDataComplete) -> LeApcfComplete
fn from(packet: LeApcfManufacturerDataComplete) -> LeApcfComplete
Converts to this type from the input type.
Source§impl From<LeApcfManufacturerDataComplete> for Vec<u8>
impl From<LeApcfManufacturerDataComplete> for Vec<u8>
Source§fn from(packet: LeApcfManufacturerDataComplete) -> Self
fn from(packet: LeApcfManufacturerDataComplete) -> Self
Converts to this type from the input type.
Source§impl From<LeApcfManufacturerDataCompleteBuilder> for LeApcfManufacturerDataComplete
impl From<LeApcfManufacturerDataCompleteBuilder> for LeApcfManufacturerDataComplete
Source§fn from(
builder: LeApcfManufacturerDataCompleteBuilder,
) -> LeApcfManufacturerDataComplete
fn from( builder: LeApcfManufacturerDataCompleteBuilder, ) -> LeApcfManufacturerDataComplete
Converts to this type from the input type.
Source§impl PartialEq for LeApcfManufacturerDataComplete
impl PartialEq for LeApcfManufacturerDataComplete
Source§fn eq(&self, other: &LeApcfManufacturerDataComplete) -> bool
fn eq(&self, other: &LeApcfManufacturerDataComplete) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeApcfManufacturerDataComplete
impl StructuralPartialEq for LeApcfManufacturerDataComplete
Auto Trait Implementations§
impl !Freeze for LeApcfManufacturerDataComplete
impl RefUnwindSafe for LeApcfManufacturerDataComplete
impl Send for LeApcfManufacturerDataComplete
impl Sync for LeApcfManufacturerDataComplete
impl Unpin for LeApcfManufacturerDataComplete
impl UnwindSafe for LeApcfManufacturerDataComplete
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