pub struct AMsduSubframe {
pub da: [u8; 6],
pub sa: [u8; 6],
pub data: Vec<u8>,
}Expand description
A single A-MSDU subframe.
Layout:
- DA (6 bytes)
- SA (6 bytes)
- Length (2 bytes, big-endian)
- MSDU (variable)
- Padding (0-3 bytes to align to 4-byte boundary)
Fields§
§da: [u8; 6]Destination address.
sa: [u8; 6]Source address.
data: Vec<u8>MSDU data.
Implementations§
Trait Implementations§
Source§impl Clone for AMsduSubframe
impl Clone for AMsduSubframe
Source§fn clone(&self) -> AMsduSubframe
fn clone(&self) -> AMsduSubframe
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AMsduSubframe
impl RefUnwindSafe for AMsduSubframe
impl Send for AMsduSubframe
impl Sync for AMsduSubframe
impl Unpin for AMsduSubframe
impl UnsafeUnpin for AMsduSubframe
impl UnwindSafe for AMsduSubframe
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