pub struct ExtendedPhyStatus {
pub fd_1000base_x: bool,
pub hd_1000base_x: bool,
pub fd_1000base_t: bool,
pub hd_1000base_t: bool,
}
Expand description
The extended status register of a PHY.
This struct describes what extended functions the PHY is capable of.
This register is only valid if the field extended_status
in the
PhyStatus
describing this struct is true
Fields§
§fd_1000base_x: bool
The PHY supports 1000BASE-X Full Duplex
hd_1000base_x: bool
The PHY supports 1000BASE-X Half Duplex
fd_1000base_t: bool
The PHY supports 1000BASE-T Full Duplex
hd_1000base_t: bool
The PHY supports 1000BASE-T Half Duplex
Trait Implementations§
Source§impl Clone for ExtendedPhyStatus
impl Clone for ExtendedPhyStatus
Source§fn clone(&self) -> ExtendedPhyStatus
fn clone(&self) -> ExtendedPhyStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 ExtendedPhyStatus
impl Debug for ExtendedPhyStatus
Source§impl PartialEq for ExtendedPhyStatus
impl PartialEq for ExtendedPhyStatus
impl Copy for ExtendedPhyStatus
impl Eq for ExtendedPhyStatus
impl StructuralPartialEq for ExtendedPhyStatus
Auto Trait Implementations§
impl Freeze for ExtendedPhyStatus
impl RefUnwindSafe for ExtendedPhyStatus
impl Send for ExtendedPhyStatus
impl Sync for ExtendedPhyStatus
impl Unpin for ExtendedPhyStatus
impl UnwindSafe for ExtendedPhyStatus
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