pub struct HsrTbl<'a>(/* private fields */);
Trait Implementations§
Source§impl<'a> AttrTbl<'a> for HsrTbl<'a>
impl<'a> AttrTbl<'a> for HsrTbl<'a>
type Index = Hsr
fn new() -> Self
fn _set(&mut self, i: Hsr, attr: &'a Attr<'_>)
fn try_from_nlmsg(offset: usize, nlh: &'a Msghdr<'_>) -> Result<Self, Errno>
fn try_from_nest(nest: &'a Attr<'_>) -> Result<Self, Errno>
fn add( &mut self, attr: &'a Attr<'a>, count: &mut usize, ) -> Result<CbStatus, Box<dyn Error>>
fn from_nlmsg(offset: usize, nlh: &'a Msghdr<'_>) -> Result<Self, Errno>
fn from_nest(nest: &'a Attr<'_>) -> Result<Self, Errno>
Auto Trait Implementations§
impl<'a> Freeze for HsrTbl<'a>
impl<'a> RefUnwindSafe for HsrTbl<'a>
impl<'a> Send for HsrTbl<'a>
impl<'a> Sync for HsrTbl<'a>
impl<'a> Unpin for HsrTbl<'a>
impl<'a> UnwindSafe for HsrTbl<'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