pub enum ExprTargetAttrs<'a> {
Name(&'a CStr),
Rev(u32),
Info(&'a [u8]),
}Available on crate feature
nftables only.Variants§
Implementations§
Source§impl ExprTargetAttrs<'_>
impl ExprTargetAttrs<'_>
pub fn new<'a>(buf: &'a [u8]) -> IterableExprTargetAttrs<'a> ⓘ
Trait Implementations§
Source§impl<'a> Clone for ExprTargetAttrs<'a>
impl<'a> Clone for ExprTargetAttrs<'a>
Source§fn clone(&self) -> ExprTargetAttrs<'a>
fn clone(&self) -> ExprTargetAttrs<'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 ExprTargetAttrs<'a>
impl<'a> RefUnwindSafe for ExprTargetAttrs<'a>
impl<'a> Send for ExprTargetAttrs<'a>
impl<'a> Sync for ExprTargetAttrs<'a>
impl<'a> Unpin for ExprTargetAttrs<'a>
impl<'a> UnwindSafe for ExprTargetAttrs<'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