[][src]Struct openthread_sys::otCacheEntryInfo

#[repr(C)]pub struct otCacheEntryInfo {
    pub mTarget: otIp6Address,
    pub mRloc16: otShortAddress,
    pub mState: otCacheEntryState,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub mLastTransTime: u32,
    pub mMeshLocalEid: otIp6Address,
    pub mTimeout: u16,
    pub mRetryDelay: u16,
}

This structure represents an EID cache entry.

Fields

mTarget: otIp6Address

< Target EID

mRloc16: otShortAddress

< RLOC16

mState: otCacheEntryState

< Entry state

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>mLastTransTime: u32

< Last transaction time (applicable in cached state).

mMeshLocalEid: otIp6Address

< Mesh Local EID (applicable if entry in cached state).

mTimeout: u16

< Timeout in seconds (applicable if in snooped/query/retry-query states).

mRetryDelay: u16

< Retry delay in seconds (applicable if in query-retry state).

Implementations

impl otCacheEntryInfo[src]

pub fn mCanEvict(&self) -> bool[src]

pub fn set_mCanEvict(&mut self, val: bool)[src]

pub fn mValidLastTrans(&self) -> bool[src]

pub fn set_mValidLastTrans(&mut self, val: bool)[src]

pub fn new_bitfield_1(
    mCanEvict: bool,
    mValidLastTrans: bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for otCacheEntryInfo[src]

impl Copy for otCacheEntryInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.