Enum Pktsizewidth
#[repr(u8)]pub enum Pktsizewidth {
Bits4 = 0,
Bits5 = 1,
Bits6 = 2,
Bits7 = 3,
Bits8 = 4,
Bits9 = 5,
Bits10 = 6,
_RESERVED_7 = 7,
}Variants§
Bits4 = 0
Width of Packet Size Counter 4.
Bits5 = 1
Width of Packet Size Counter 5.
Bits6 = 2
Width of Packet Size Counter 6.
Bits7 = 3
Width of Packet Size Counter 7.
Bits8 = 4
Width of Packet Size Counter 8.
Bits9 = 5
Width of Packet Size Counter 9.
Bits10 = 6
Width of Packet Size Counter 10.
_RESERVED_7 = 7
Implementations§
§impl Pktsizewidth
impl Pktsizewidth
pub const fn from_bits(val: u8) -> Pktsizewidth
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Pktsizewidth
impl Clone for Pktsizewidth
§fn clone(&self) -> Pktsizewidth
fn clone(&self) -> Pktsizewidth
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 Pktsizewidth
§impl Debug for Pktsizewidth
impl Debug for Pktsizewidth
impl Eq for Pktsizewidth
§impl From<u8> for Pktsizewidth
impl From<u8> for Pktsizewidth
§fn from(val: u8) -> Pktsizewidth
fn from(val: u8) -> Pktsizewidth
Converts to this type from the input type.
§impl Ord for Pktsizewidth
impl Ord for Pktsizewidth
§fn cmp(&self, other: &Pktsizewidth) -> Ordering
fn cmp(&self, other: &Pktsizewidth) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Pktsizewidth
impl PartialEq for Pktsizewidth
§impl PartialOrd for Pktsizewidth
impl PartialOrd for Pktsizewidth
impl StructuralPartialEq for Pktsizewidth
Auto Trait Implementations§
impl Freeze for Pktsizewidth
impl RefUnwindSafe for Pktsizewidth
impl Send for Pktsizewidth
impl Sync for Pktsizewidth
impl Unpin for Pktsizewidth
impl UnsafeUnpin for Pktsizewidth
impl UnwindSafe for Pktsizewidth
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