pub enum PhyControllerState {
Idle,
Negotiating,
Active,
Switching,
Error,
}Expand description
PHY controller state
Variants§
Idle
Not initialized or no connection
Negotiating
Negotiating PHY capabilities
Active
Operating with current PHY
Switching
Switching to a new PHY
Error
Error state
Trait Implementations§
Source§impl Clone for PhyControllerState
impl Clone for PhyControllerState
Source§fn clone(&self) -> PhyControllerState
fn clone(&self) -> PhyControllerState
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 PhyControllerState
impl Debug for PhyControllerState
Source§impl Default for PhyControllerState
impl Default for PhyControllerState
Source§fn default() -> PhyControllerState
fn default() -> PhyControllerState
Returns the “default value” for a type. Read more
Source§impl PartialEq for PhyControllerState
impl PartialEq for PhyControllerState
impl Copy for PhyControllerState
impl Eq for PhyControllerState
impl StructuralPartialEq for PhyControllerState
Auto Trait Implementations§
impl Freeze for PhyControllerState
impl RefUnwindSafe for PhyControllerState
impl Send for PhyControllerState
impl Sync for PhyControllerState
impl Unpin for PhyControllerState
impl UnwindSafe for PhyControllerState
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