pub struct DataFrame<B> {
pub fixed_fields: Ref<B, FixedDataHdrFields>,
pub addr4: Option<Ref<B, Addr4>>,
pub qos_ctrl: Option<UnalignedView<B, QosControl>>,
pub ht_ctrl: Option<UnalignedView<B, HtControl>>,
pub body: B,
}
Fields§
§fixed_fields: Ref<B, FixedDataHdrFields>
§addr4: Option<Ref<B, Addr4>>
§qos_ctrl: Option<UnalignedView<B, QosControl>>
§ht_ctrl: Option<UnalignedView<B, HtControl>>
§body: B
Implementations§
Source§impl<B> DataFrame<B>where
B: SplitByteSlice,
impl<B> DataFrame<B>where
B: SplitByteSlice,
pub fn parse( reader: impl IntoBufferReader<B>, is_body_aligned: bool, ) -> Option<Self>
pub fn frame_ctrl(&self) -> FrameControl
pub fn data_subtype(&self) -> DataSubtype
Trait Implementations§
Source§impl<B> From<DataFrame<B>> for IntoMsduIter<B>where
B: SplitByteSlice,
impl<B> From<DataFrame<B>> for IntoMsduIter<B>where
B: SplitByteSlice,
Source§impl<B> IntoIterator for DataFrame<B>where
B: SplitByteSlice,
impl<B> IntoIterator for DataFrame<B>where
B: SplitByteSlice,
Auto Trait Implementations§
impl<B> Freeze for DataFrame<B>where
B: Freeze,
impl<B> RefUnwindSafe for DataFrame<B>where
B: RefUnwindSafe,
impl<B> Send for DataFrame<B>where
B: Send,
impl<B> Sync for DataFrame<B>where
B: Sync,
impl<B> Unpin for DataFrame<B>where
B: Unpin,
impl<B> UnwindSafe for DataFrame<B>where
B: 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