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