pub struct LESetPeriodicSyncSubeventCommand<S: Storage, ST: State = UncheckedState> { /* private fields */ }Implementations§
Source§impl<S: Storage> LESetPeriodicSyncSubeventCommand<S, UncheckedState>
impl<S: Storage> LESetPeriodicSyncSubeventCommand<S, UncheckedState>
Source§impl<S: Storage, ST: State> LESetPeriodicSyncSubeventCommand<S, ST>
impl<S: Storage, ST: State> LESetPeriodicSyncSubeventCommand<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 sync_handle(&self) -> UInt<16, LittleEndian, S::Sliced<'_>, ST>
pub fn emboss_reserved_anonymous_field_3( &self, ) -> LESetPeriodicSyncSubeventCommand_EmbossReservedAnonymousField3<S::Sliced<'_>, UncheckedState>
pub fn num_subevents_to_sync(&self) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn subevents( &self, ) -> Result<LESetPeriodicSyncSubeventCommand_Subevents_ArrayView<S::Sliced<'_>>, Error>
Trait Implementations§
Source§impl<S: Storage> CheckComplete for LESetPeriodicSyncSubeventCommand<S, UncheckedState>
impl<S: Storage> CheckComplete for LESetPeriodicSyncSubeventCommand<S, UncheckedState>
type Completed = LESetPeriodicSyncSubeventCommand<S, CompleteState>
fn check_complete(self) -> Result<Self::Completed, Error>
Source§impl<S: Storage> CheckOk for LESetPeriodicSyncSubeventCommand<S, UncheckedState>
impl<S: Storage> CheckOk for LESetPeriodicSyncSubeventCommand<S, UncheckedState>
Source§impl<S: Storage> CheckOk for LESetPeriodicSyncSubeventCommand<S, CompleteState>
impl<S: Storage> CheckOk for LESetPeriodicSyncSubeventCommand<S, CompleteState>
Auto Trait Implementations§
impl<S, ST> Freeze for LESetPeriodicSyncSubeventCommand<S, ST>where
S: Freeze,
impl<S, ST> RefUnwindSafe for LESetPeriodicSyncSubeventCommand<S, ST>where
S: RefUnwindSafe,
ST: RefUnwindSafe,
impl<S, ST> Send for LESetPeriodicSyncSubeventCommand<S, ST>
impl<S, ST> Sync for LESetPeriodicSyncSubeventCommand<S, ST>
impl<S, ST> Unpin for LESetPeriodicSyncSubeventCommand<S, ST>
impl<S, ST> UnsafeUnpin for LESetPeriodicSyncSubeventCommand<S, ST>where
S: UnsafeUnpin,
impl<S, ST> UnwindSafe for LESetPeriodicSyncSubeventCommand<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