pub struct Rts {
pub frame_control: FrameControl,
pub duration: [u8; 2],
pub source: MacAddress,
pub destination: MacAddress,
}
Expand description
It indicates to the Station, that a node wants to send some data.
The usual flow is RTS -> CTS -> Data -> ACK
.
This protocol was introduced to reduce frame collisions introduced by the hidden node problem.
Fields
frame_control: FrameControl
duration: [u8; 2]
source: MacAddress
destination: MacAddress
Trait Implementations
sourceimpl Addresses for Rts
impl Addresses for Rts
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 Rts
impl Send for Rts
impl Sync for Rts
impl Unpin for Rts
impl UnwindSafe for Rts
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