pub struct SubsequentKFrameMut<S: MutStorage> { /* private fields */ }Implementations§
Source§impl<S: MutStorage> SubsequentKFrameMut<S>
impl<S: MutStorage> SubsequentKFrameMut<S>
pub fn new(storage: S) -> Self
pub fn into_writer(self) -> SubsequentKFrameWriter<S, UncheckedState>
Sourcepub fn as_view(&self) -> SubsequentKFrame<S::Sliced<'_>, UncheckedState>
pub fn as_view(&self) -> SubsequentKFrame<S::Sliced<'_>, UncheckedState>
Borrows the mutable view as an immutable view in UncheckedState.
pub fn header(&mut self) -> BasicL2capHeaderMut<S::SlicedMut<'_>>
pub fn pdu_length(&mut self) -> VirtualField<u64>
pub fn channel_id(&mut self) -> VirtualField<u64>
pub fn payload_size(&mut self) -> VirtualField<u64>
pub fn payload_mut( &mut self, ) -> Result<SubsequentKFrame_Payload_ArrayViewMut<S::SlicedMut<'_>>, Error>
Trait Implementations§
Source§impl<S: MutStorage> IntoWriter for SubsequentKFrameMut<S>
impl<S: MutStorage> IntoWriter for SubsequentKFrameMut<S>
type Writer = SubsequentKFrameWriter<S>
fn into_writer(self) -> Self::Writer
Source§impl<S: MutStorage> View for SubsequentKFrameMut<S>
impl<S: MutStorage> View for SubsequentKFrameMut<S>
Auto Trait Implementations§
impl<S> Freeze for SubsequentKFrameMut<S>where
S: Freeze,
impl<S> RefUnwindSafe for SubsequentKFrameMut<S>where
S: RefUnwindSafe,
impl<S> Send for SubsequentKFrameMut<S>where
S: Send,
impl<S> Sync for SubsequentKFrameMut<S>where
S: Sync,
impl<S> Unpin for SubsequentKFrameMut<S>where
S: Unpin,
impl<S> UnsafeUnpin for SubsequentKFrameMut<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SubsequentKFrameMut<S>where
S: 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