pub struct LinkPower {
pub eee: bool,
pub pause: bool,
}Expand description
What an interface does about Energy-Efficient Ethernet and PAUSE, as its driver reports it. The AVB Lite profile asks endpoints to keep both off their own link.
Fields§
§eee: boolEEE is enabled, so the interface advertises it and its link may sleep between frames.
pause: boolThe interface sends PAUSE or acts on it, or offers to when it negotiates.
Trait Implementations§
impl Copy for LinkPower
impl Eq for LinkPower
impl StructuralPartialEq for LinkPower
Auto Trait Implementations§
impl Freeze for LinkPower
impl RefUnwindSafe for LinkPower
impl Send for LinkPower
impl Sync for LinkPower
impl Unpin for LinkPower
impl UnsafeUnpin for LinkPower
impl UnwindSafe for LinkPower
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