pub struct UtpLinkSpeed(/* private fields */);Expand description
The negotiated speed of a network port.
Implementations§
Source§impl UtpLinkSpeed
impl UtpLinkSpeed
Sourcepub const SPEED_100M: Self
pub const SPEED_100M: Self
100Mbit/s.
Sourcepub const SPEED_200M: Self
pub const SPEED_200M: Self
200Mbit/s.
Trait Implementations§
Source§impl Clone for UtpLinkSpeed
impl Clone for UtpLinkSpeed
Source§fn clone(&self) -> UtpLinkSpeed
fn clone(&self) -> UtpLinkSpeed
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 UtpLinkSpeed
Source§impl Debug for UtpLinkSpeed
impl Debug for UtpLinkSpeed
Source§impl Default for UtpLinkSpeed
impl Default for UtpLinkSpeed
Source§fn default() -> UtpLinkSpeed
fn default() -> UtpLinkSpeed
Returns the “default value” for a type. Read more
Source§impl Display for UtpLinkSpeed
impl Display for UtpLinkSpeed
impl Eq for UtpLinkSpeed
Source§impl Hash for UtpLinkSpeed
impl Hash for UtpLinkSpeed
Source§impl Ord for UtpLinkSpeed
impl Ord for UtpLinkSpeed
Source§fn cmp(&self, other: &UtpLinkSpeed) -> Ordering
fn cmp(&self, other: &UtpLinkSpeed) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for UtpLinkSpeed
impl PartialEq for UtpLinkSpeed
Source§impl PartialOrd for UtpLinkSpeed
impl PartialOrd for UtpLinkSpeed
impl StructuralPartialEq for UtpLinkSpeed
Auto Trait Implementations§
impl Freeze for UtpLinkSpeed
impl RefUnwindSafe for UtpLinkSpeed
impl Send for UtpLinkSpeed
impl Sync for UtpLinkSpeed
impl Unpin for UtpLinkSpeed
impl UnsafeUnpin for UtpLinkSpeed
impl UnwindSafe for UtpLinkSpeed
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