pub struct MemInfo {Show 48 fields
    pub memtotal: u64,
    pub memfree: u64,
    pub memavailable: u64,
    pub buffers: u64,
    pub cached: u64,
    pub swapcached: u64,
    pub active: u64,
    pub inactive: u64,
    pub activeanon: u64,
    pub inactiveanon: u64,
    pub activefile: u64,
    pub inactivefile: u64,
    pub unevictable: u64,
    pub mlocked: u64,
    pub swaptotal: u64,
    pub swapfree: u64,
    pub dirty: u64,
    pub writeback: u64,
    pub anonpages: u64,
    pub mapped: u64,
    pub shmem: u64,
    pub slab: u64,
    pub sreclaimable: u64,
    pub sunreclaim: u64,
    pub kernelstack: u64,
    pub pagetables: u64,
    pub nfsunstable: u64,
    pub bounce: u64,
    pub writebacktmp: u64,
    pub commitlimit: u64,
    pub committedas: u64,
    pub vmalloctotal: u64,
    pub vmallocused: u64,
    pub vmallocchunk: u64,
    pub hardwarecorrupted: u64,
    pub anonhugepages: u64,
    pub shmemhugepages: u64,
    pub shmempmdmapped: u64,
    pub cmatotal: u64,
    pub cmafree: u64,
    pub hugepagestotal: u64,
    pub hugepagesfree: u64,
    pub hugepagesrsvd: u64,
    pub hugepagessurp: u64,
    pub hugepagesize: u64,
    pub directmap4k: u64,
    pub directmap2m: u64,
    pub directmap1g: u64,
}Fields§
§memtotal: u64§memfree: u64§memavailable: u64§buffers: u64§cached: u64§swapcached: u64§active: u64§inactive: u64§activeanon: u64§inactiveanon: u64§activefile: u64§inactivefile: u64§unevictable: u64§mlocked: u64§swaptotal: u64§swapfree: u64§dirty: u64§writeback: u64§anonpages: u64§mapped: u64§shmem: u64§slab: u64§sreclaimable: u64§sunreclaim: u64§kernelstack: u64§pagetables: u64§nfsunstable: u64§bounce: u64§writebacktmp: u64§commitlimit: u64§committedas: u64§vmalloctotal: u64§vmallocused: u64§vmallocchunk: u64§hardwarecorrupted: u64§anonhugepages: u64§shmemhugepages: u64§shmempmdmapped: u64§cmatotal: u64§cmafree: u64§hugepagestotal: u64§hugepagesfree: u64§hugepagesrsvd: u64§hugepagessurp: u64§hugepagesize: u64§directmap4k: u64§directmap2m: u64§directmap1g: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for MemInfo
 
impl<'de> Deserialize<'de> for MemInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for MemInfo
 
impl Message for MemInfo
Source§fn encoded_len(&self) -> usize
 
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
    Self: Sized,
 
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
    Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
    Self: Sized,
 
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
    Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
    &self,
    buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
    Self: Sized,
 
fn encode_length_delimited(
    &self,
    buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
    Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
    Self: Sized,
 
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
    Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,
 
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,
 
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,
 
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,
Decodes an instance of the message from a buffer, and merges it into 
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,
 
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into 
self.impl Copy for MemInfo
impl StructuralPartialEq for MemInfo
Auto Trait Implementations§
impl Freeze for MemInfo
impl RefUnwindSafe for MemInfo
impl Send for MemInfo
impl Sync for MemInfo
impl Unpin for MemInfo
impl UnwindSafe for MemInfo
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
 
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
 
fn into_request(self) -> Request<T>
Wrap the input message 
T in a tonic::Request