Enum wlan_common::mac::ActionFrame
source · pub enum ActionFrame<B>where
B: SplitByteSlice,{
Ack(ActionAckFrame<B>),
NoAck(ActionNoAckFrame<B>),
}
Expand description
Action frame that may or may not require acknowledgement.
Variants§
Ack(ActionAckFrame<B>)
NoAck(ActionNoAckFrame<B>)
Implementations§
source§impl<B> ActionFrame<B>where
B: SplitByteSlice,
impl<B> ActionFrame<B>where
B: SplitByteSlice,
Trait Implementations§
source§impl<B> AsRef<ActionBody<B>> for ActionFrame<B>where
B: SplitByteSlice,
impl<B> AsRef<ActionBody<B>> for ActionFrame<B>where
B: SplitByteSlice,
source§fn as_ref(&self) -> &ActionBody<B>
fn as_ref(&self) -> &ActionBody<B>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<B> Debug for ActionFrame<B>where
B: SplitByteSlice + Debug,
impl<B> Debug for ActionFrame<B>where
B: SplitByteSlice + Debug,
source§impl<B> From<ActionFrame<B>> for MgmtBody<B>where
B: SplitByteSlice,
impl<B> From<ActionFrame<B>> for MgmtBody<B>where
B: SplitByteSlice,
source§fn from(frame: ActionFrame<B>) -> Self
fn from(frame: ActionFrame<B>) -> Self
Converts to this type from the input type.
source§impl<B> From<NoAck<false, ActionBody<B>>> for ActionFrame<B>where
B: SplitByteSlice,
impl<B> From<NoAck<false, ActionBody<B>>> for ActionFrame<B>where
B: SplitByteSlice,
source§fn from(frame: ActionAckFrame<B>) -> Self
fn from(frame: ActionAckFrame<B>) -> Self
Converts to this type from the input type.
source§impl<B> From<NoAck<true, ActionBody<B>>> for ActionFrame<B>where
B: SplitByteSlice,
impl<B> From<NoAck<true, ActionBody<B>>> for ActionFrame<B>where
B: SplitByteSlice,
source§fn from(frame: ActionNoAckFrame<B>) -> Self
fn from(frame: ActionNoAckFrame<B>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<B> Freeze for ActionFrame<B>where
B: Freeze,
impl<B> RefUnwindSafe for ActionFrame<B>where
B: RefUnwindSafe,
impl<B> Send for ActionFrame<B>where
B: Send,
impl<B> Sync for ActionFrame<B>where
B: Sync,
impl<B> Unpin for ActionFrame<B>where
B: Unpin,
impl<B> UnwindSafe for ActionFrame<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