pub struct LEAdvertisingEventProperties<S: Storage, ST: State = UncheckedState> { /* private fields */ }Implementations§
Source§impl<S: Storage> LEAdvertisingEventProperties<S, UncheckedState>
impl<S: Storage> LEAdvertisingEventProperties<S, UncheckedState>
Source§impl<S: Storage, ST: State> LEAdvertisingEventProperties<S, ST>
impl<S: Storage, ST: State> LEAdvertisingEventProperties<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 emboss_reserved_anonymous_field_18( &self, ) -> LEAdvertisingEventProperties_EmbossReservedAnonymousField18<S::Sliced<'_>, UncheckedState>
pub fn connectable(&self) -> VirtualField<bool>
pub fn scannable(&self) -> VirtualField<bool>
pub fn directed(&self) -> VirtualField<bool>
pub fn high_duty_cycle_directed_connectable(&self) -> VirtualField<bool>
pub fn use_legacy_pdus(&self) -> VirtualField<bool>
pub fn anonymous_advertising(&self) -> VirtualField<bool>
pub fn include_tx_power(&self) -> VirtualField<bool>
Trait Implementations§
Source§impl<S: Storage> CheckComplete for LEAdvertisingEventProperties<S, UncheckedState>
impl<S: Storage> CheckComplete for LEAdvertisingEventProperties<S, UncheckedState>
type Completed = LEAdvertisingEventProperties<S, CompleteState>
fn check_complete(self) -> Result<Self::Completed, Error>
Source§impl<S: Storage> CheckOk for LEAdvertisingEventProperties<S, UncheckedState>
impl<S: Storage> CheckOk for LEAdvertisingEventProperties<S, UncheckedState>
Source§impl<S: Storage> CheckOk for LEAdvertisingEventProperties<S, CompleteState>
impl<S: Storage> CheckOk for LEAdvertisingEventProperties<S, CompleteState>
Auto Trait Implementations§
impl<S, ST> Freeze for LEAdvertisingEventProperties<S, ST>where
S: Freeze,
impl<S, ST> RefUnwindSafe for LEAdvertisingEventProperties<S, ST>where
S: RefUnwindSafe,
ST: RefUnwindSafe,
impl<S, ST> Send for LEAdvertisingEventProperties<S, ST>
impl<S, ST> Sync for LEAdvertisingEventProperties<S, ST>
impl<S, ST> Unpin for LEAdvertisingEventProperties<S, ST>
impl<S, ST> UnsafeUnpin for LEAdvertisingEventProperties<S, ST>where
S: UnsafeUnpin,
impl<S, ST> UnwindSafe for LEAdvertisingEventProperties<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