pub struct ProcMeminfo {
Show 46 fields pub mem_total: KiloBytes, pub mem_free: KiloBytes, pub mem_available: KiloBytes, pub buffers: KiloBytes, pub cached: KiloBytes, pub swap_cached: KiloBytes, pub active: KiloBytes, pub inactive: KiloBytes, pub active_anon: KiloBytes, pub inactive_anon: KiloBytes, pub active_file: KiloBytes, pub inactive_file: KiloBytes, pub unevictable: KiloBytes, pub mlocked: KiloBytes, pub swap_total: KiloBytes, pub swap_free: KiloBytes, pub dirty: KiloBytes, pub writeback: KiloBytes, pub anon_pages: KiloBytes, pub mapped: KiloBytes, pub shmem: KiloBytes, pub slab: KiloBytes, pub sreclaimable: KiloBytes, pub sunreclaimable: KiloBytes, pub kernel_stack: KiloBytes, pub page_tables: KiloBytes, pub nfs_unstable: KiloBytes, pub bounce: KiloBytes, pub writeback_tmp: KiloBytes, pub commit_limit: KiloBytes, pub committed_as: KiloBytes, pub vmalloc_total: KiloBytes, pub vmalloc_used: KiloBytes, pub vmalloc_chunk: KiloBytes, pub hardware_corrupted: KiloBytes, pub anon_huge_pages: KiloBytes, pub cma_total: KiloBytes, pub cma_free: KiloBytes, pub huge_pages_total: usize, pub huge_pages_free: usize, pub huge_pages_rsvd: usize, pub huge_pages_surp: usize, pub huge_page_size: KiloBytes, pub direct_map_4k: KiloBytes, pub direct_map_2m: KiloBytes, pub direct_map_1g: KiloBytes,
}

Fields

mem_total: KiloBytesmem_free: KiloBytesmem_available: KiloBytesbuffers: KiloBytescached: KiloBytesswap_cached: KiloBytesactive: KiloBytesinactive: KiloBytesactive_anon: KiloBytesinactive_anon: KiloBytesactive_file: KiloBytesinactive_file: KiloBytesunevictable: KiloBytesmlocked: KiloBytesswap_total: KiloBytesswap_free: KiloBytesdirty: KiloByteswriteback: KiloBytesanon_pages: KiloBytesmapped: KiloBytesshmem: KiloBytesslab: KiloBytessreclaimable: KiloBytessunreclaimable: KiloByteskernel_stack: KiloBytespage_tables: KiloBytesnfs_unstable: KiloBytesbounce: KiloByteswriteback_tmp: KiloBytescommit_limit: KiloBytescommitted_as: KiloBytesvmalloc_total: KiloBytesvmalloc_used: KiloBytesvmalloc_chunk: KiloByteshardware_corrupted: KiloBytesanon_huge_pages: KiloBytescma_total: KiloBytescma_free: KiloByteshuge_pages_total: usizehuge_pages_free: usizehuge_pages_rsvd: usizehuge_pages_surp: usizehuge_page_size: KiloBytesdirect_map_4k: KiloBytesdirect_map_2m: KiloBytesdirect_map_1g: KiloBytes

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.