pub struct LESetExtendedAdvertisingParametersV1Command<S: Storage, ST: State = UncheckedState> { /* private fields */ }Implementations§
Source§impl<S: Storage, ST: State> LESetExtendedAdvertisingParametersV1Command<S, ST>
impl<S: Storage, ST: State> LESetExtendedAdvertisingParametersV1Command<S, ST>
Sourcepub unsafe fn new_in_state(storage: S) -> Self
pub unsafe fn new_in_state(storage: S) -> Self
Constructs a view in a specific typestate.
§Safety
The caller must ensure that storage satisfies the layout invariants for ST.
pub fn into_storage(self) -> S
pub fn hdr_size(&self) -> VirtualField<u64>
pub fn header(&self) -> CommandHeader<S::Sliced<'_>, UncheckedState>
pub fn advertising_handle(&self) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn advertising_event_properties( &self, ) -> LEAdvertisingEventProperties<S::Sliced<'_>, UncheckedState>
pub fn primary_advertising_interval_min( &self, ) -> UInt<24, LittleEndian, S::Sliced<'_>, ST>
pub fn primary_advertising_interval_max( &self, ) -> UInt<24, LittleEndian, S::Sliced<'_>, ST>
pub fn emboss_reserved_anonymous_field_8( &self, ) -> LESetExtendedAdvertisingParametersV1Command_EmbossReservedAnonymousField8<S::Sliced<'_>, UncheckedState>
pub fn own_address_type( &self, ) -> EnumView<LEOwnAddressType, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn peer_address_type( &self, ) -> EnumView<LEPeerAddressTypeNoAnon, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn peer_address(&self) -> BdAddr<S::Sliced<'_>, UncheckedState>
pub fn advertising_filter_policy( &self, ) -> EnumView<LEAdvertisingFilterPolicy, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn advertising_tx_power(&self) -> Int<8, LittleEndian, S::Sliced<'_>, ST>
pub fn primary_advertising_phy( &self, ) -> EnumView<LEPrimaryAdvertisingPHY, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn secondary_advertising_max_skip( &self, ) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn secondary_advertising_phy( &self, ) -> EnumView<LESecondaryAdvertisingPHY, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn advertising_sid(&self) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn scan_request_notification_enable( &self, ) -> EnumView<GenericEnableParam, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
Trait Implementations§
Source§impl<S: Storage> CheckComplete for LESetExtendedAdvertisingParametersV1Command<S, UncheckedState>
impl<S: Storage> CheckComplete for LESetExtendedAdvertisingParametersV1Command<S, UncheckedState>
type Completed = LESetExtendedAdvertisingParametersV1Command<S, CompleteState>
fn check_complete(self) -> Result<Self::Completed, Error>
Source§impl<S: Storage> CheckOk for LESetExtendedAdvertisingParametersV1Command<S, UncheckedState>
impl<S: Storage> CheckOk for LESetExtendedAdvertisingParametersV1Command<S, UncheckedState>
Source§impl<S: Storage> CheckOk for LESetExtendedAdvertisingParametersV1Command<S, CompleteState>
impl<S: Storage> CheckOk for LESetExtendedAdvertisingParametersV1Command<S, CompleteState>
Auto Trait Implementations§
impl<S, ST> Freeze for LESetExtendedAdvertisingParametersV1Command<S, ST>where
S: Freeze,
impl<S, ST> RefUnwindSafe for LESetExtendedAdvertisingParametersV1Command<S, ST>where
S: RefUnwindSafe,
ST: RefUnwindSafe,
impl<S, ST> Send for LESetExtendedAdvertisingParametersV1Command<S, ST>
impl<S, ST> Sync for LESetExtendedAdvertisingParametersV1Command<S, ST>
impl<S, ST> Unpin for LESetExtendedAdvertisingParametersV1Command<S, ST>
impl<S, ST> UnsafeUnpin for LESetExtendedAdvertisingParametersV1Command<S, ST>where
S: UnsafeUnpin,
impl<S, ST> UnwindSafe for LESetExtendedAdvertisingParametersV1Command<S, ST>where
S: UnwindSafe,
ST: 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