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: u32Amount of data in the receive queue.
bottom_send_queue: u32Amount of data that is queued by TCP but not yet sent.
cache: u32Amount of memory scheduled for future use (TCP only).
send_queue: u32Amount 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 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 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
type Error = DecodeError
Source§fn parse(buf: &LegacyMemInfoBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &LegacyMemInfoBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
Source§impl PartialEq for LegacyMemInfo
impl PartialEq for LegacyMemInfo
impl Eq for LegacyMemInfo
impl StructuralPartialEq for LegacyMemInfo
Auto Trait Implementations§
impl Freeze for LegacyMemInfo
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