[][src]Struct cgroups_rs::memory::Tcp

pub struct Tcp {
    pub fail_cnt: u64,
    pub limit_in_bytes: i64,
    pub usage_in_bytes: u64,
    pub max_usage_in_bytes: u64,
}

The current state of and gathered statistics about the kernel's memory usage for TCP-related data structures.

Fields

fail_cnt: u64

How many times the limit has been hit.

limit_in_bytes: i64

The limit in bytes of the memory usage of the kernel's TCP buffers by control group's tasks.

usage_in_bytes: u64

The current memory used by the kernel's TCP buffers related to these tasks.

max_usage_in_bytes: u64

The observed maximum usage of memory by the kernel's TCP buffers (that originated from these tasks).

Trait Implementations

impl Debug for Tcp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.