pub enum C33PseExtState {
None = 0,
ErrorCondition = 1,
MrMpsValid = 2,
MrPseEnable = 3,
OptionDetectTed = 4,
OptionVportLim = 5,
OvldDetected = 6,
PowerNotAvailable = 7,
ShortDetected = 8,
}Available on crate feature
ethtool only.Expand description
"groups of PSE extended states functions. IEEE 802.3-2022 33.2.4.4 Variables" Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
None = 0
none
ErrorCondition = 1
Group of error_condition states
MrMpsValid = 2
Group of mr_mps_valid states
MrPseEnable = 3
Group of mr_pse_enable states
OptionDetectTed = 4
Group of option_detect_ted states
OptionVportLim = 5
Group of option_vport_lim states
OvldDetected = 6
Group of ovld_detected states
PowerNotAvailable = 7
Group of power_not_available states
ShortDetected = 8
Group of short_detected states
Implementations§
Source§impl C33PseExtState
impl C33PseExtState
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for C33PseExtState
impl Clone for C33PseExtState
Source§fn clone(&self) -> C33PseExtState
fn clone(&self) -> C33PseExtState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 C33PseExtState
impl Debug for C33PseExtState
impl Copy for C33PseExtState
Auto Trait Implementations§
impl Freeze for C33PseExtState
impl RefUnwindSafe for C33PseExtState
impl Send for C33PseExtState
impl Sync for C33PseExtState
impl Unpin for C33PseExtState
impl UnsafeUnpin for C33PseExtState
impl UnwindSafe for C33PseExtState
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