Enum wlan_common::mac::FrameClass
source · pub enum FrameClass {
Class1 = 1,
Class2 = 2,
Class3 = 3,
}
Variants§
Trait Implementations§
source§impl Clone for FrameClass
impl Clone for FrameClass
source§fn clone(&self) -> FrameClass
fn clone(&self) -> FrameClass
Returns a copy 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 moresource§impl Debug for FrameClass
impl Debug for FrameClass
source§impl<B: SplitByteSlice> From<&MacFrame<B>> for FrameClass
impl<B: SplitByteSlice> From<&MacFrame<B>> for FrameClass
Converts a MacFrame into a FrameClass.
source§fn from(mac_frame: &MacFrame<B>) -> FrameClass
fn from(mac_frame: &MacFrame<B>) -> FrameClass
Converts to this type from the input type.
source§impl Ord for FrameClass
impl Ord for FrameClass
source§fn cmp(&self, other: &FrameClass) -> Ordering
fn cmp(&self, other: &FrameClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FrameClass
impl PartialEq for FrameClass
source§fn eq(&self, other: &FrameClass) -> bool
fn eq(&self, other: &FrameClass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FrameClass
impl PartialOrd for FrameClass
source§fn partial_cmp(&self, other: &FrameClass) -> Option<Ordering>
fn partial_cmp(&self, other: &FrameClass) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FrameClass
impl Eq for FrameClass
impl StructuralPartialEq for FrameClass
Auto Trait Implementations§
impl Freeze for FrameClass
impl RefUnwindSafe for FrameClass
impl Send for FrameClass
impl Sync for FrameClass
impl Unpin for FrameClass
impl UnwindSafe for FrameClass
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)