Struct wlan_common::mac::NoAck
source · pub struct NoAck<const NO_ACK: bool, T>(pub T);
Expand description
Frame or frame body distinguished by acknowledgement or lack thereof, namely action frames.
Tuple Fields§
§0: T
Implementations§
source§impl<const NO_ACK: bool, B> NoAck<NO_ACK, ActionBody<B>>where
B: ByteSlice,
impl<const NO_ACK: bool, B> NoAck<NO_ACK, ActionBody<B>>where
B: ByteSlice,
Trait Implementations§
source§impl<B> From<NoAck<false, ActionBody<B>>> for ActionFrame<B>where
B: ByteSlice,
impl<B> From<NoAck<false, ActionBody<B>>> for ActionFrame<B>where
B: ByteSlice,
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: ByteSlice,
impl<B> From<NoAck<true, ActionBody<B>>> for ActionFrame<B>where
B: ByteSlice,
source§fn from(frame: ActionNoAckFrame<B>) -> Self
fn from(frame: ActionNoAckFrame<B>) -> Self
Converts to this type from the input type.
impl<const NO_ACK: bool, T: Copy> Copy for NoAck<NO_ACK, T>
Auto Trait Implementations§
impl<const NO_ACK: bool, T> Freeze for NoAck<NO_ACK, T>where
T: Freeze,
impl<const NO_ACK: bool, T> RefUnwindSafe for NoAck<NO_ACK, T>where
T: RefUnwindSafe,
impl<const NO_ACK: bool, T> Send for NoAck<NO_ACK, T>where
T: Send,
impl<const NO_ACK: bool, T> Sync for NoAck<NO_ACK, T>where
T: Sync,
impl<const NO_ACK: bool, T> Unpin for NoAck<NO_ACK, T>where
T: Unpin,
impl<const NO_ACK: bool, T> UnwindSafe for NoAck<NO_ACK, T>where
T: 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