Struct netlink_packet_route::tc::TcFqCodelClStatsBuffer
source · pub struct TcFqCodelClStatsBuffer<T> { /* private fields */ }
Implementations§
source§impl<T: AsRef<[u8]>> TcFqCodelClStatsBuffer<T>
impl<T: AsRef<[u8]>> TcFqCodelClStatsBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
source§impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
pub fn set_deficit(&mut self, value: i32)
source§impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
pub fn set_ldelay(&mut self, value: u32)
source§impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
pub fn set_lastcount(&mut self, value: u32)
source§impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
pub fn set_dropping(&mut self, value: u32)
source§impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> TcFqCodelClStatsBuffer<T>
pub fn set_drop_next(&mut self, value: i32)
source§impl<T: AsRef<[u8]>> TcFqCodelClStatsBuffer<T>
impl<T: AsRef<[u8]>> TcFqCodelClStatsBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations§
source§impl<T: Clone> Clone for TcFqCodelClStatsBuffer<T>
impl<T: Clone> Clone for TcFqCodelClStatsBuffer<T>
source§fn clone(&self) -> TcFqCodelClStatsBuffer<T>
fn clone(&self) -> TcFqCodelClStatsBuffer<T>
Returns a copy 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<T: Debug> Debug for TcFqCodelClStatsBuffer<T>
impl<T: Debug> Debug for TcFqCodelClStatsBuffer<T>
source§impl<T: AsRef<[u8]>> Parseable<TcFqCodelClStatsBuffer<T>> for TcFqCodelClStats
impl<T: AsRef<[u8]>> Parseable<TcFqCodelClStatsBuffer<T>> for TcFqCodelClStats
source§fn parse(buf: &TcFqCodelClStatsBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &TcFqCodelClStatsBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl<T: PartialEq> PartialEq for TcFqCodelClStatsBuffer<T>
impl<T: PartialEq> PartialEq for TcFqCodelClStatsBuffer<T>
source§fn eq(&self, other: &TcFqCodelClStatsBuffer<T>) -> bool
fn eq(&self, other: &TcFqCodelClStatsBuffer<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy> Copy for TcFqCodelClStatsBuffer<T>
impl<T: Eq> Eq for TcFqCodelClStatsBuffer<T>
impl<T> StructuralPartialEq for TcFqCodelClStatsBuffer<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for TcFqCodelClStatsBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for TcFqCodelClStatsBuffer<T>where
T: Send,
impl<T> Sync for TcFqCodelClStatsBuffer<T>where
T: Sync,
impl<T> Unpin for TcFqCodelClStatsBuffer<T>where
T: Unpin,
impl<T> UnwindSafe for TcFqCodelClStatsBuffer<T>where
T: UnwindSafe,
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