[−][src]Struct openthread_sys::otCacheEntryInfo
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]
mCanEvict: bool,
mValidLastTrans: bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for otCacheEntryInfo
[src]
fn clone(&self) -> otCacheEntryInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for otCacheEntryInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for otCacheEntryInfo
impl Send for otCacheEntryInfo
impl Sync for otCacheEntryInfo
impl Unpin for otCacheEntryInfo
impl UnwindSafe for otCacheEntryInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,