pub struct NdtaTbl<'a>(/* private fields */);
Implementations§
Source§impl<'a> NdtaTbl<'a>
impl<'a> NdtaTbl<'a>
pub fn name(&self) -> Result<Option<&str>>
pub fn thresh1(&self) -> Result<Option<&u32>>
pub fn thresh2(&self) -> Result<Option<&u32>>
pub fn thresh3(&self) -> Result<Option<&u32>>
pub fn config(&self) -> Result<Option<&NdtConfig>>
pub fn parms(&self) -> Result<Option<NdtpaTbl<'_>>>
pub fn stats(&self) -> Result<Option<&NdtStats>>
pub fn gc_interval(&self) -> Result<Option<&u64>>
Trait Implementations§
Source§impl<'a> AttrTbl<'a> for NdtaTbl<'a>
impl<'a> AttrTbl<'a> for NdtaTbl<'a>
type Index = Ndta
fn new() -> Self
fn _set(&mut self, i: Ndta, 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 NdtaTbl<'a>
impl<'a> RefUnwindSafe for NdtaTbl<'a>
impl<'a> Send for NdtaTbl<'a>
impl<'a> Sync for NdtaTbl<'a>
impl<'a> Unpin for NdtaTbl<'a>
impl<'a> UnwindSafe for NdtaTbl<'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