pub enum SelectorField {
Std802_3,
Std802_9Islan16t,
Std802_5,
Std1394,
}
Expand description
The selector field, describing the type of autonegotiation message sent by a PHY.
In practice, SelectorField::Std802_3
is used almost exclusively.
Variants§
Std802_3
The message is an IEEE Std 802.3 message
Std802_9Islan16t
The message is an IEEE Std 802.9 ISLAN-16T message
Std802_5
The message is an IEEE Std 802.5 message
Std1394
The message is an IEEE Std 1394 message
Trait Implementations§
Source§impl Clone for SelectorField
impl Clone for SelectorField
Source§fn clone(&self) -> SelectorField
fn clone(&self) -> SelectorField
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 SelectorField
impl Debug for SelectorField
Source§impl Default for SelectorField
impl Default for SelectorField
Source§fn default() -> SelectorField
fn default() -> SelectorField
Returns the “default value” for a type. Read more
Source§impl From<SelectorField> for AutoNegCap
impl From<SelectorField> for AutoNegCap
Source§fn from(sf: SelectorField) -> AutoNegCap
fn from(sf: SelectorField) -> AutoNegCap
Converts to this type from the input type.
Source§impl PartialEq for SelectorField
impl PartialEq for SelectorField
impl Copy for SelectorField
impl Eq for SelectorField
impl StructuralPartialEq for SelectorField
Auto Trait Implementations§
impl Freeze for SelectorField
impl RefUnwindSafe for SelectorField
impl Send for SelectorField
impl Sync for SelectorField
impl Unpin for SelectorField
impl UnwindSafe for SelectorField
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