pub enum DlDpipeTable<'a> {
DpipeTableName(&'a CStr),
DpipeTableSize(u64),
DpipeTableMatches(IterableDlDpipeTableMatches<'a>),
DpipeTableActions(IterableDlDpipeTableActions<'a>),
DpipeTableCountersEnabled(u8),
DpipeTableResourceId(u64),
DpipeTableResourceUnits(u64),
}Available on crate feature
devlink only.Variants§
DpipeTableName(&'a CStr)
DpipeTableSize(u64)
DpipeTableMatches(IterableDlDpipeTableMatches<'a>)
DpipeTableActions(IterableDlDpipeTableActions<'a>)
DpipeTableCountersEnabled(u8)
DpipeTableResourceId(u64)
DpipeTableResourceUnits(u64)
Implementations§
Source§impl DlDpipeTable<'_>
impl DlDpipeTable<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableDlDpipeTable<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for DlDpipeTable<'a>
impl<'a> Clone for DlDpipeTable<'a>
Source§fn clone(&self) -> DlDpipeTable<'a>
fn clone(&self) -> DlDpipeTable<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for DlDpipeTable<'a>
impl<'a> RefUnwindSafe for DlDpipeTable<'a>
impl<'a> Send for DlDpipeTable<'a>
impl<'a> Sync for DlDpipeTable<'a>
impl<'a> Unpin for DlDpipeTable<'a>
impl<'a> UnsafeUnpin for DlDpipeTable<'a>
impl<'a> UnwindSafe for DlDpipeTable<'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