#[repr(u8)]pub enum Rateoverride {
_1MBIT = 0,
_2MBIT = 1,
_125KBPS = 2,
_500KBPS = 3,
}
Variants§
Implementations§
Source§impl Rateoverride
impl Rateoverride
Trait Implementations§
Source§impl Clone for Rateoverride
impl Clone for Rateoverride
Source§fn clone(&self) -> Rateoverride
fn clone(&self) -> Rateoverride
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Rateoverride
impl Debug for Rateoverride
Source§impl From<Rateoverride> for u8
impl From<Rateoverride> for u8
Source§fn from(val: Rateoverride) -> u8
fn from(val: Rateoverride) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Rateoverride
impl From<u8> for Rateoverride
Source§fn from(val: u8) -> Rateoverride
fn from(val: u8) -> Rateoverride
Converts to this type from the input type.
Source§impl Ord for Rateoverride
impl Ord for Rateoverride
Source§fn cmp(&self, other: &Rateoverride) -> Ordering
fn cmp(&self, other: &Rateoverride) -> 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 Rateoverride
impl PartialEq for Rateoverride
Source§impl PartialOrd for Rateoverride
impl PartialOrd for Rateoverride
impl Copy for Rateoverride
impl Eq for Rateoverride
impl StructuralPartialEq for Rateoverride
Auto Trait Implementations§
impl Freeze for Rateoverride
impl RefUnwindSafe for Rateoverride
impl Send for Rateoverride
impl Sync for Rateoverride
impl Unpin for Rateoverride
impl UnwindSafe for Rateoverride
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