#[repr(C)]pub struct mxr_cable_status_t {
pub polarity: bool,
pub pair: u8,
pub skew: u32,
pub length: u32,
}Expand description
The diagnostic result for one UTP cable pair.
Fields§
§polarity: boolWhether the pair is wired with normal polarity.
pair: u8Which pair this describes.
skew: u32Measured skew.
length: u32Measured length.
Trait Implementations§
Source§impl Clone for mxr_cable_status_t
impl Clone for mxr_cable_status_t
Source§fn clone(&self) -> mxr_cable_status_t
fn clone(&self) -> mxr_cable_status_t
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 mxr_cable_status_t
Source§impl From<UtpCableStatus> for mxr_cable_status_t
impl From<UtpCableStatus> for mxr_cable_status_t
Source§fn from(c: UtpCableStatus) -> Self
fn from(c: UtpCableStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for mxr_cable_status_t
impl RefUnwindSafe for mxr_cable_status_t
impl Send for mxr_cable_status_t
impl Sync for mxr_cable_status_t
impl Unpin for mxr_cable_status_t
impl UnsafeUnpin for mxr_cable_status_t
impl UnwindSafe for mxr_cable_status_t
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