pub struct PushChannels<Prev: Pusher> { /* private fields */ }Available on crate feature
ethtool only.Implementations§
Source§impl<Prev: Pusher> PushChannels<Prev>
impl<Prev: Pusher> PushChannels<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn nested_header(self) -> PushHeader<Self>
pub fn push_rx_max(self, value: u32) -> Self
pub fn push_tx_max(self, value: u32) -> Self
pub fn push_other_max(self, value: u32) -> Self
pub fn push_combined_max(self, value: u32) -> Self
pub fn push_rx_count(self, value: u32) -> Self
pub fn push_tx_count(self, value: u32) -> Self
pub fn push_other_count(self, value: u32) -> Self
pub fn push_combined_count(self, value: u32) -> Self
Trait Implementations§
Source§impl<Prev: Pusher> Drop for PushChannels<Prev>
impl<Prev: Pusher> Drop for PushChannels<Prev>
Source§impl<Prev: Pusher> Pusher for PushChannels<Prev>
impl<Prev: Pusher> Pusher for PushChannels<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushChannels<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushChannels<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushChannels<Prev>where
Prev: Send,
impl<Prev> Sync for PushChannels<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushChannels<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushChannels<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushChannels<Prev>where
Prev: UnwindSafe,
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