pub struct LinkStatus {
pub speed: Speed,
pub duplex: Duplex,
}Expand description
Negotiated or configured link parameters.
Fields§
§speed: SpeedLink speed
duplex: DuplexDuplex mode
Implementations§
Trait Implementations§
Source§impl Clone for LinkStatus
impl Clone for LinkStatus
Source§fn clone(&self) -> LinkStatus
fn clone(&self) -> LinkStatus
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 moreSource§impl Debug for LinkStatus
impl Debug for LinkStatus
Source§impl Format for LinkStatus
impl Format for LinkStatus
Source§impl PartialEq for LinkStatus
impl PartialEq for LinkStatus
Source§fn eq(&self, other: &LinkStatus) -> bool
fn eq(&self, other: &LinkStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LinkStatus
impl Eq for LinkStatus
impl StructuralPartialEq for LinkStatus
Auto Trait Implementations§
impl Freeze for LinkStatus
impl RefUnwindSafe for LinkStatus
impl Send for LinkStatus
impl Sync for LinkStatus
impl Unpin for LinkStatus
impl UnsafeUnpin for LinkStatus
impl UnwindSafe for LinkStatus
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