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