pub struct Ack {
pub frame_control: FrameControl,
pub duration: [u8; 2],
pub destination: MacAddress,
}
Expand description
Send by the receiving station to indicate that the data has been transmitted.
Part of the RTS -> CTS -> Data -> ACK
protocol.
The protocol was introduced to reduce frame collisions introduced by the hidden node problem.
Fields
frame_control: FrameControl
duration: [u8; 2]
destination: MacAddress
Trait Implementations
sourceimpl Addresses for Ack
impl Addresses for Ack
sourcefn src(&self) -> Option<&MacAddress>
fn src(&self) -> Option<&MacAddress>
Returns the sender of the Frame. This isn’t always send in every frame (e.g. CTS). Read more
sourcefn dest(&self) -> &MacAddress
fn dest(&self) -> &MacAddress
Returns the destination of the Frame. This should always be present. Read more
sourcefn bssid(&self) -> Option<&MacAddress>
fn bssid(&self) -> Option<&MacAddress>
This isn’t always send in every frame (e.g. RTS).
Auto Trait Implementations
impl RefUnwindSafe for Ack
impl Send for Ack
impl Sync for Ack
impl Unpin for Ack
impl UnwindSafe for Ack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more