pub enum Rejection {
OtherBss,
BadDsBits,
FrameMalformed,
NoSrcAddr,
NoSuchClient(MacAddr),
Client(MacAddr, ClientRejection),
Error(Error),
}
Expand description
Rejection reasons for why a frame was not proceessed.
Variants§
OtherBss
The frame was for another BSS.
BadDsBits
For data frames: The To DS bit was false, or the From DS bit was true. For management frames: The To DS bit was set and the frame was not a QMF (QoS Management frame) management frame, or the reserved From DS bit was set.
FrameMalformed
For ethernet frames Frame is malformed (For example, a minimum Ethernet frame must contain a header(14 bytes).
NoSrcAddr
No source address was found.
NoSuchClient(MacAddr)
No client with the given address was found.
Client(MacAddr, ClientRejection)
Some error specific to a client occurred.
Error(Error)
Some general error occurred.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rejection
impl !RefUnwindSafe for Rejection
impl Send for Rejection
impl Sync for Rejection
impl Unpin for Rejection
impl !UnwindSafe for Rejection
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