Enum kernel::net::phy::DuplexMode
source · pub enum DuplexMode {
Full,
Half,
Unknown,
}
Expand description
A mode of Ethernet communication.
PHY drivers get duplex information from hardware and update the current state.
Variants§
Full
PHY is in full-duplex mode.
Half
PHY is in half-duplex mode.
Unknown
PHY is in unknown duplex mode.
Auto Trait Implementations§
impl RefUnwindSafe for DuplexMode
impl Send for DuplexMode
impl Sync for DuplexMode
impl Unpin for DuplexMode
impl UnwindSafe for DuplexMode
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