pub struct UtpLinkErrors {
pub in_error: bool,
pub in_fcs_error: bool,
pub in_collision: bool,
pub out_deferred: bool,
pub out_excessive: bool,
pub polarity_error: bool,
pub skew_warning: bool,
pub length_warning: bool,
}Expand description
The decoded link-error bitmask for a network port.
Fields§
§in_error: boolA receive error was counted.
in_fcs_error: boolA receive frame failed its checksum.
in_collision: boolA receive collision was counted.
out_deferred: boolA transmit was deferred.
out_excessive: boolA transmit was deferred excessively.
polarity_error: boolA pair is wired with reversed polarity.
skew_warning: boolPair skew is out of tolerance.
length_warning: boolCable length is out of tolerance.
Trait Implementations§
Source§impl Clone for UtpLinkErrors
impl Clone for UtpLinkErrors
Source§fn clone(&self) -> UtpLinkErrors
fn clone(&self) -> UtpLinkErrors
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 UtpLinkErrors
Source§impl Debug for UtpLinkErrors
impl Debug for UtpLinkErrors
Source§impl Default for UtpLinkErrors
impl Default for UtpLinkErrors
Source§fn default() -> UtpLinkErrors
fn default() -> UtpLinkErrors
Returns the “default value” for a type. Read more
impl Eq for UtpLinkErrors
Source§impl PartialEq for UtpLinkErrors
impl PartialEq for UtpLinkErrors
impl StructuralPartialEq for UtpLinkErrors
Auto Trait Implementations§
impl Freeze for UtpLinkErrors
impl RefUnwindSafe for UtpLinkErrors
impl Send for UtpLinkErrors
impl Sync for UtpLinkErrors
impl Unpin for UtpLinkErrors
impl UnsafeUnpin for UtpLinkErrors
impl UnwindSafe for UtpLinkErrors
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