pub struct LESetCIGParametersCommand<S: Storage, ST: State = UncheckedState> { /* private fields */ }Implementations§
Source§impl<S: Storage> LESetCIGParametersCommand<S, UncheckedState>
impl<S: Storage> LESetCIGParametersCommand<S, UncheckedState>
Source§impl<S: Storage, ST: State> LESetCIGParametersCommand<S, ST>
impl<S: Storage, ST: State> LESetCIGParametersCommand<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 cig_id(&self) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn sdu_interval_c_to_p(&self) -> UInt<24, LittleEndian, S::Sliced<'_>, ST>
pub fn sdu_interval_p_to_c(&self) -> UInt<24, LittleEndian, S::Sliced<'_>, ST>
pub fn worst_case_sca( &self, ) -> EnumView<LESleepClockAccuracyRange, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn packing( &self, ) -> EnumView<LECISPacking, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn framing( &self, ) -> EnumView<LECISFraming, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn max_transport_latency_c_to_p( &self, ) -> UInt<16, LittleEndian, S::Sliced<'_>, ST>
pub fn max_transport_latency_p_to_c( &self, ) -> UInt<16, LittleEndian, S::Sliced<'_>, ST>
pub fn cis_count(&self) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn single_cis_options_size(&self) -> VirtualField<u64>
pub fn total_cis_options_size(&self) -> VirtualField<u64>
pub fn cis_options( &self, ) -> Result<LESetCIGParametersCommand_CisOptions_ArrayView<S::Sliced<'_>>, Error>
Trait Implementations§
Source§impl<S: Storage> CheckComplete for LESetCIGParametersCommand<S, UncheckedState>
impl<S: Storage> CheckComplete for LESetCIGParametersCommand<S, UncheckedState>
type Completed = LESetCIGParametersCommand<S, CompleteState>
fn check_complete(self) -> Result<Self::Completed, Error>
Source§impl<S: Storage> CheckOk for LESetCIGParametersCommand<S, UncheckedState>
impl<S: Storage> CheckOk for LESetCIGParametersCommand<S, UncheckedState>
Source§impl<S: Storage> CheckOk for LESetCIGParametersCommand<S, CompleteState>
impl<S: Storage> CheckOk for LESetCIGParametersCommand<S, CompleteState>
Auto Trait Implementations§
impl<S, ST> Freeze for LESetCIGParametersCommand<S, ST>where
S: Freeze,
impl<S, ST> RefUnwindSafe for LESetCIGParametersCommand<S, ST>where
S: RefUnwindSafe,
ST: RefUnwindSafe,
impl<S, ST> Send for LESetCIGParametersCommand<S, ST>
impl<S, ST> Sync for LESetCIGParametersCommand<S, ST>
impl<S, ST> Unpin for LESetCIGParametersCommand<S, ST>
impl<S, ST> UnsafeUnpin for LESetCIGParametersCommand<S, ST>where
S: UnsafeUnpin,
impl<S, ST> UnwindSafe for LESetCIGParametersCommand<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