Struct netlink_packet_sock_diag::inet::nlas::LegacyMemInfo
source · pub struct LegacyMemInfo {
pub receive_queue: u32,
pub bottom_send_queue: u32,
pub cache: u32,
pub send_queue: u32,
}
Expand description
In recent Linux kernels, this NLA is not used anymore to report
AF_INET and AF_INET6 sockets memory information. See MemInfo
instead.
Fields§
§receive_queue: u32
Amount of data in the receive queue.
bottom_send_queue: u32
Amount of data that is queued by TCP but not yet sent.
cache: u32
Amount of memory scheduled for future use (TCP only).
send_queue: u32
Amount of data in the send queue.
Trait Implementations§
source§impl Clone for LegacyMemInfo
impl Clone for LegacyMemInfo
source§fn clone(&self) -> LegacyMemInfo
fn clone(&self) -> LegacyMemInfo
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 Debug for LegacyMemInfo
impl Debug for LegacyMemInfo
source§impl Emitable for LegacyMemInfo
impl Emitable for LegacyMemInfo
source§impl<T: AsRef<[u8]>> Parseable<LegacyMemInfoBuffer<T>> for LegacyMemInfo
impl<T: AsRef<[u8]>> Parseable<LegacyMemInfoBuffer<T>> for LegacyMemInfo
source§fn parse(buf: &LegacyMemInfoBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &LegacyMemInfoBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<LegacyMemInfo> for LegacyMemInfo
impl PartialEq<LegacyMemInfo> for LegacyMemInfo
source§fn eq(&self, other: &LegacyMemInfo) -> bool
fn eq(&self, other: &LegacyMemInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LegacyMemInfo
impl StructuralEq for LegacyMemInfo
impl StructuralPartialEq for LegacyMemInfo
Auto Trait Implementations§
impl RefUnwindSafe for LegacyMemInfo
impl Send for LegacyMemInfo
impl Sync for LegacyMemInfo
impl Unpin for LegacyMemInfo
impl UnwindSafe for LegacyMemInfo
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