pub struct AutoNegotiationAdvertisement {
pub selector_field: Option<SelectorField>,
pub hd_10base_t: bool,
pub fd_10base_t: bool,
pub hd_100base_tx: bool,
pub fd_100base_tx: bool,
pub base100_t4: bool,
pub pause: Pause,
}
Expand description
An autonegotiation advertisement.
Fields§
§selector_field: Option<SelectorField>
The type of message sent
hd_10base_t: bool
The PHY supports 10BASE-T
fd_10base_t: bool
The PHY supports 10BASE-T Full Duplex
hd_100base_tx: bool
The PHY supports 100BASE-TX
fd_100base_tx: bool
The PHY supports 100BASE-TX Full Duplex
base100_t4: bool
The PHY supports 100BASE-T4
pause: Pause
The pause mode supported by the PHY
Trait Implementations§
Source§impl Clone for AutoNegotiationAdvertisement
impl Clone for AutoNegotiationAdvertisement
Source§fn clone(&self) -> AutoNegotiationAdvertisement
fn clone(&self) -> AutoNegotiationAdvertisement
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 AutoNegotiationAdvertisement
impl Debug for AutoNegotiationAdvertisement
Source§impl Default for AutoNegotiationAdvertisement
impl Default for AutoNegotiationAdvertisement
Source§fn default() -> AutoNegotiationAdvertisement
fn default() -> AutoNegotiationAdvertisement
Returns the “default value” for a type. Read more
Source§impl From<AutoNegCap> for AutoNegotiationAdvertisement
impl From<AutoNegCap> for AutoNegotiationAdvertisement
Source§fn from(ana: AutoNegCap) -> AutoNegotiationAdvertisement
fn from(ana: AutoNegCap) -> AutoNegotiationAdvertisement
Converts to this type from the input type.
Source§impl PartialEq for AutoNegotiationAdvertisement
impl PartialEq for AutoNegotiationAdvertisement
Source§fn eq(&self, other: &AutoNegotiationAdvertisement) -> bool
fn eq(&self, other: &AutoNegotiationAdvertisement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for AutoNegotiationAdvertisement
impl Eq for AutoNegotiationAdvertisement
impl StructuralPartialEq for AutoNegotiationAdvertisement
Auto Trait Implementations§
impl Freeze for AutoNegotiationAdvertisement
impl RefUnwindSafe for AutoNegotiationAdvertisement
impl Send for AutoNegotiationAdvertisement
impl Sync for AutoNegotiationAdvertisement
impl Unpin for AutoNegotiationAdvertisement
impl UnwindSafe for AutoNegotiationAdvertisement
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