pub struct LEPeriodicAdvertisingCreateSyncOptions<S: Storage, ST: State = UncheckedState> { /* private fields */ }Implementations§
Source§impl<S: Storage, ST: State> LEPeriodicAdvertisingCreateSyncOptions<S, ST>
impl<S: Storage, ST: State> LEPeriodicAdvertisingCreateSyncOptions<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 use_periodic_advertiser_list( &self, ) -> BitFlag<1, 0, Null, S::Sliced<'_>, ST>
pub fn disable_reporting(&self) -> BitFlag<1, 1, Null, S::Sliced<'_>, ST>
pub fn enable_duplicate_filtering( &self, ) -> BitFlag<1, 2, Null, S::Sliced<'_>, ST>
Trait Implementations§
Source§impl<S: Storage> CheckComplete for LEPeriodicAdvertisingCreateSyncOptions<S, UncheckedState>
impl<S: Storage> CheckComplete for LEPeriodicAdvertisingCreateSyncOptions<S, UncheckedState>
type Completed = LEPeriodicAdvertisingCreateSyncOptions<S, CompleteState>
fn check_complete(self) -> Result<Self::Completed, Error>
Source§impl<S: Storage> CheckOk for LEPeriodicAdvertisingCreateSyncOptions<S, UncheckedState>
impl<S: Storage> CheckOk for LEPeriodicAdvertisingCreateSyncOptions<S, UncheckedState>
Source§impl<S: Storage> CheckOk for LEPeriodicAdvertisingCreateSyncOptions<S, CompleteState>
impl<S: Storage> CheckOk for LEPeriodicAdvertisingCreateSyncOptions<S, CompleteState>
Auto Trait Implementations§
impl<S, ST> Freeze for LEPeriodicAdvertisingCreateSyncOptions<S, ST>where
S: Freeze,
impl<S, ST> RefUnwindSafe for LEPeriodicAdvertisingCreateSyncOptions<S, ST>where
S: RefUnwindSafe,
ST: RefUnwindSafe,
impl<S, ST> Send for LEPeriodicAdvertisingCreateSyncOptions<S, ST>
impl<S, ST> Sync for LEPeriodicAdvertisingCreateSyncOptions<S, ST>
impl<S, ST> Unpin for LEPeriodicAdvertisingCreateSyncOptions<S, ST>
impl<S, ST> UnsafeUnpin for LEPeriodicAdvertisingCreateSyncOptions<S, ST>where
S: UnsafeUnpin,
impl<S, ST> UnwindSafe for LEPeriodicAdvertisingCreateSyncOptions<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