pub struct PushNdaCacheinfo { /* private fields */ }Available on crate feature
rt-neigh only.Implementations§
Source§impl PushNdaCacheinfo
impl PushNdaCacheinfo
Sourcepub fn new_from_slice(other: &[u8]) -> Option<Self>
pub fn new_from_slice(other: &[u8]) -> Option<Self>
Copy from contents from other slice
Sourcepub fn new_from_zeroed(other: &[u8]) -> Self
pub fn new_from_zeroed(other: &[u8]) -> Self
Copy from contents from another slice, padding with zeros or truncating when needed
pub fn as_slice(&self) -> &[u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub const fn len() -> usize
pub fn confirmed(&self) -> u32
pub fn set_confirmed(&mut self, value: u32)
pub fn used(&self) -> u32
pub fn set_used(&mut self, value: u32)
pub fn updated(&self) -> u32
pub fn set_updated(&mut self, value: u32)
pub fn refcnt(&self) -> u32
pub fn set_refcnt(&mut self, value: u32)
Trait Implementations§
Source§impl Clone for PushNdaCacheinfo
impl Clone for PushNdaCacheinfo
Source§fn clone(&self) -> PushNdaCacheinfo
fn clone(&self) -> PushNdaCacheinfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PushNdaCacheinfo
impl Debug for PushNdaCacheinfo
Auto Trait Implementations§
impl Freeze for PushNdaCacheinfo
impl RefUnwindSafe for PushNdaCacheinfo
impl Send for PushNdaCacheinfo
impl Sync for PushNdaCacheinfo
impl Unpin for PushNdaCacheinfo
impl UnwindSafe for PushNdaCacheinfo
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