Enum wlan_common::mac::MacFrame
source · pub enum MacFrame<B> {
Mgmt(MgmtFrame<B>),
Data(DataFrame<B>),
Ctrl(CtrlFrame<B>),
Unsupported {
frame_ctrl: FrameControl,
},
}
Variants§
Mgmt(MgmtFrame<B>)
Data(DataFrame<B>)
Ctrl(CtrlFrame<B>)
Unsupported
Fields
§
frame_ctrl: FrameControl
Implementations§
Trait Implementations§
source§impl<B: SplitByteSlice> From<&MacFrame<B>> for FrameClass
impl<B: SplitByteSlice> From<&MacFrame<B>> for FrameClass
Converts a MacFrame into a FrameClass.
source§fn from(mac_frame: &MacFrame<B>) -> FrameClass
fn from(mac_frame: &MacFrame<B>) -> FrameClass
Converts to this type from the input type.
Auto Trait Implementations§
impl<B> Freeze for MacFrame<B>where
B: Freeze,
impl<B> RefUnwindSafe for MacFrame<B>where
B: RefUnwindSafe,
impl<B> Send for MacFrame<B>where
B: Send,
impl<B> Sync for MacFrame<B>where
B: Sync,
impl<B> Unpin for MacFrame<B>where
B: Unpin,
impl<B> UnwindSafe for MacFrame<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