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