Struct netlink_packet_route::rtnl::link::nlas::Inet6CacheInfoBuffer
source · [−]pub struct Inet6CacheInfoBuffer<T> { /* private fields */ }
Implementations
sourceimpl<T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
impl<T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
sourceimpl<'a, T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
impl<'a, T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
pub fn max_reasm_len(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
impl<'a, T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
pub fn reachable_time(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
impl<'a, T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
pub fn retrans_time(&self) -> i32
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6CacheInfoBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6CacheInfoBuffer<T>
pub fn set_max_reasm_len(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6CacheInfoBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6CacheInfoBuffer<T>
pub fn set_tstamp(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6CacheInfoBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6CacheInfoBuffer<T>
pub fn set_reachable_time(&mut self, value: i32)
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6CacheInfoBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6CacheInfoBuffer<T>
pub fn set_retrans_time(&mut self, value: i32)
sourceimpl<T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
impl<T: AsRef<[u8]>> Inet6CacheInfoBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations
sourceimpl<T: Clone> Clone for Inet6CacheInfoBuffer<T>
impl<T: Clone> Clone for Inet6CacheInfoBuffer<T>
sourcefn clone(&self) -> Inet6CacheInfoBuffer<T>
fn clone(&self) -> Inet6CacheInfoBuffer<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for Inet6CacheInfoBuffer<T>
impl<T: Debug> Debug for Inet6CacheInfoBuffer<T>
sourceimpl<T: AsRef<[u8]>> Parseable<Inet6CacheInfoBuffer<T>> for Inet6CacheInfo
impl<T: AsRef<[u8]>> Parseable<Inet6CacheInfoBuffer<T>> for Inet6CacheInfo
sourcefn parse(buf: &Inet6CacheInfoBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &Inet6CacheInfoBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
sourceimpl<T: PartialEq> PartialEq<Inet6CacheInfoBuffer<T>> for Inet6CacheInfoBuffer<T>
impl<T: PartialEq> PartialEq<Inet6CacheInfoBuffer<T>> for Inet6CacheInfoBuffer<T>
sourcefn eq(&self, other: &Inet6CacheInfoBuffer<T>) -> bool
fn eq(&self, other: &Inet6CacheInfoBuffer<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Inet6CacheInfoBuffer<T>) -> bool
fn ne(&self, other: &Inet6CacheInfoBuffer<T>) -> bool
This method tests for !=
.
impl<T: Copy> Copy for Inet6CacheInfoBuffer<T>
impl<T: Eq> Eq for Inet6CacheInfoBuffer<T>
impl<T> StructuralEq for Inet6CacheInfoBuffer<T>
impl<T> StructuralPartialEq for Inet6CacheInfoBuffer<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Inet6CacheInfoBuffer<T> where
T: RefUnwindSafe,
impl<T> Send for Inet6CacheInfoBuffer<T> where
T: Send,
impl<T> Sync for Inet6CacheInfoBuffer<T> where
T: Sync,
impl<T> Unpin for Inet6CacheInfoBuffer<T> where
T: Unpin,
impl<T> UnwindSafe for Inet6CacheInfoBuffer<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more