NdtpaTbl

Struct NdtpaTbl 

Source
pub struct NdtpaTbl<'a>(/* private fields */);

Implementations§

Source§

impl<'a> NdtpaTbl<'a>

Source

pub fn ifindex(&self) -> Result<Option<&u32>>

Source

pub fn refcnt(&self) -> Result<Option<&u32>>

Source

pub fn reachable_time(&self) -> Result<Option<&u64>>

Source

pub fn base_reachable_time(&self) -> Result<Option<&u64>>

Source

pub fn retrans_time(&self) -> Result<Option<&u64>>

Source

pub fn gc_staletime(&self) -> Result<Option<&u64>>

Source

pub fn delay_probe_time(&self) -> Result<Option<&u64>>

Source

pub fn queue_len(&self) -> Result<Option<&u64>>

Source

pub fn app_probes(&self) -> Result<Option<&u64>>

Source

pub fn ucast_probes(&self) -> Result<Option<&u32>>

Source

pub fn mcast_probes(&self) -> Result<Option<&u32>>

Source

pub fn anycast_delay(&self) -> Result<Option<&u64>>

Source

pub fn proxy_delay(&self) -> Result<Option<&u64>>

Source

pub fn proxy_qlen(&self) -> Result<Option<&u32>>

Source

pub fn locktime(&self) -> Result<Option<&u64>>

Source

pub fn queue_lenbytes(&self) -> Result<Option<&u32>>

Source

pub fn mcast_reprobes(&self) -> Result<Option<&u32>>

Trait Implementations§

Source§

impl<'a> AttrTbl<'a> for NdtpaTbl<'a>

Source§

type Index = Ndtpa

Source§

fn new() -> Self

Source§

fn _set(&mut self, i: Ndtpa, attr: &'a Attr<'_>)

Source§

fn try_from_nlmsg(offset: usize, nlh: &'a Msghdr<'_>) -> Result<Self, Errno>

Source§

fn try_from_nest(nest: &'a Attr<'_>) -> Result<Self, Errno>

Source§

fn add( &mut self, attr: &'a Attr<'a>, count: &mut usize, ) -> Result<CbStatus, Box<dyn Error>>

Source§

fn from_nlmsg(offset: usize, nlh: &'a Msghdr<'_>) -> Result<Self, Errno>

Source§

fn from_nest(nest: &'a Attr<'_>) -> Result<Self, Errno>

Source§

impl<'a> Index<Ndtpa> for NdtpaTbl<'a>

Source§

type Output = Option<&'a Attr<'a>>

The returned type after indexing.
Source§

fn index(&self, a: Ndtpa) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl<'a> IndexMut<Ndtpa> for NdtpaTbl<'a>

Source§

fn index_mut(&mut self, a: Ndtpa) -> &mut Self::Output

Performs the mutable indexing (container[index]) operation. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for NdtpaTbl<'a>

§

impl<'a> RefUnwindSafe for NdtpaTbl<'a>

§

impl<'a> Send for NdtpaTbl<'a>

§

impl<'a> Sync for NdtpaTbl<'a>

§

impl<'a> Unpin for NdtpaTbl<'a>

§

impl<'a> UnwindSafe for NdtpaTbl<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.