pub enum DlDpipeMatchValue<'a> {
DpipeMatch(IterableDlDpipeMatch<'a>),
DpipeValue(&'a [u8]),
DpipeValueMask(&'a [u8]),
DpipeValueMapping(u32),
}Available on crate feature
devlink only.Variants§
DpipeMatch(IterableDlDpipeMatch<'a>)
Attribute may repeat multiple times (treat it as array)
DpipeValue(&'a [u8])
DpipeValueMask(&'a [u8])
DpipeValueMapping(u32)
Implementations§
Source§impl DlDpipeMatchValue<'_>
impl DlDpipeMatchValue<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableDlDpipeMatchValue<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for DlDpipeMatchValue<'a>
impl<'a> Clone for DlDpipeMatchValue<'a>
Source§fn clone(&self) -> DlDpipeMatchValue<'a>
fn clone(&self) -> DlDpipeMatchValue<'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 DlDpipeMatchValue<'a>
impl<'a> RefUnwindSafe for DlDpipeMatchValue<'a>
impl<'a> Send for DlDpipeMatchValue<'a>
impl<'a> Sync for DlDpipeMatchValue<'a>
impl<'a> Unpin for DlDpipeMatchValue<'a>
impl<'a> UnsafeUnpin for DlDpipeMatchValue<'a>
impl<'a> UnwindSafe for DlDpipeMatchValue<'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