pub struct LESetPrivacyModeCommandMut<S: MutStorage> { /* private fields */ }Implementations§
Source§impl<S: MutStorage> LESetPrivacyModeCommandMut<S>
impl<S: MutStorage> LESetPrivacyModeCommandMut<S>
pub fn new(storage: S) -> Self
pub fn into_writer(self) -> LESetPrivacyModeCommandWriter<S, UncheckedState>
Sourcepub fn as_view(&self) -> LESetPrivacyModeCommand<S::Sliced<'_>, UncheckedState>
pub fn as_view(&self) -> LESetPrivacyModeCommand<S::Sliced<'_>, UncheckedState>
Borrows the mutable view as an immutable view in UncheckedState.
pub fn hdr_size(&mut self) -> VirtualField<u64>
pub fn header(&mut self) -> CommandHeaderMut<S::SlicedMut<'_>>
pub fn peer_identity_address_type( &mut self, ) -> EnumViewMut<LEPeerAddressTypeNoAnon, UInt<8, LittleEndian, S::SlicedMut<'_>, UncheckedState>>
pub fn peer_identity_address(&mut self) -> BdAddrMut<S::SlicedMut<'_>>
pub fn privacy_mode( &mut self, ) -> EnumViewMut<LEPrivacyMode, UInt<8, LittleEndian, S::SlicedMut<'_>, UncheckedState>>
Trait Implementations§
Source§impl<S: MutStorage> IntoWriter for LESetPrivacyModeCommandMut<S>
impl<S: MutStorage> IntoWriter for LESetPrivacyModeCommandMut<S>
type Writer = LESetPrivacyModeCommandWriter<S>
fn into_writer(self) -> Self::Writer
Source§impl<S: MutStorage> View for LESetPrivacyModeCommandMut<S>
impl<S: MutStorage> View for LESetPrivacyModeCommandMut<S>
Auto Trait Implementations§
impl<S> Freeze for LESetPrivacyModeCommandMut<S>where
S: Freeze,
impl<S> RefUnwindSafe for LESetPrivacyModeCommandMut<S>where
S: RefUnwindSafe,
impl<S> Send for LESetPrivacyModeCommandMut<S>where
S: Send,
impl<S> Sync for LESetPrivacyModeCommandMut<S>where
S: Sync,
impl<S> Unpin for LESetPrivacyModeCommandMut<S>where
S: Unpin,
impl<S> UnsafeUnpin for LESetPrivacyModeCommandMut<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for LESetPrivacyModeCommandMut<S>where
S: UnwindSafe,
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