pub enum FrameError {
TooShort,
NotDataFrame,
InvalidWfbAddressMirror,
MissingPayload,
}Expand description
Reason an 802.11 frame could not be interpreted as an OpenIPC/WFB frame.
Variants§
TooShort
The buffer is too short for the selected FrameLayout.
NotDataFrame
The frame-control bytes are not the expected QoS data shape.
InvalidWfbAddressMirror
The mirrored OpenIPC address/channel fields are malformed.
MissingPayload
No payload remains after the 802.11 header and optional FCS.
Trait Implementations§
Source§impl Clone for FrameError
impl Clone for FrameError
Source§fn clone(&self) -> FrameError
fn clone(&self) -> FrameError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FrameError
Source§impl Debug for FrameError
impl Debug for FrameError
impl Eq for FrameError
Source§impl PartialEq for FrameError
impl PartialEq for FrameError
Source§fn eq(&self, other: &FrameError) -> bool
fn eq(&self, other: &FrameError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameError
Auto Trait Implementations§
impl Freeze for FrameError
impl RefUnwindSafe for FrameError
impl Send for FrameError
impl Sync for FrameError
impl Unpin for FrameError
impl UnsafeUnpin for FrameError
impl UnwindSafe for FrameError
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