pub enum OpDpipeTableCountersSetDoRequest<'a> {
BusName(&'a CStr),
DevName(&'a CStr),
DpipeTableName(&'a CStr),
DpipeTableCountersEnabled(u8),
}Available on crate feature
devlink only.Expand description
Set dpipe counter attributes.
Variants§
Implementations§
Source§impl OpDpipeTableCountersSetDoRequest<'_>
impl OpDpipeTableCountersSetDoRequest<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableOpDpipeTableCountersSetDoRequest<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for OpDpipeTableCountersSetDoRequest<'a>
impl<'a> Clone for OpDpipeTableCountersSetDoRequest<'a>
Source§fn clone(&self) -> OpDpipeTableCountersSetDoRequest<'a>
fn clone(&self) -> OpDpipeTableCountersSetDoRequest<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for OpDpipeTableCountersSetDoRequest<'a>
impl<'a> RefUnwindSafe for OpDpipeTableCountersSetDoRequest<'a>
impl<'a> Send for OpDpipeTableCountersSetDoRequest<'a>
impl<'a> Sync for OpDpipeTableCountersSetDoRequest<'a>
impl<'a> Unpin for OpDpipeTableCountersSetDoRequest<'a>
impl<'a> UnwindSafe for OpDpipeTableCountersSetDoRequest<'a>
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