Struct sysfs_rs::node::Node
[−]
[src]
pub struct Node { /* fields omitted */ }
Methods
impl Node
[src]
fn new(id: usize) -> Result<Node, &'static str>
fn id(&self) -> usize
fn cpus(&self) -> &Vec<Cpu>
fn cpumask(&self) -> &Vec<bool>
fn mem_free(&self) -> u64
fn mem_total(&self) -> u64
fn mem_used(&self) -> u64
fn hugepages_2m_free(&self) -> usize
fn hugepages_2m_total(&self) -> usize
fn hugepages_1g_free(&self) -> usize
fn hugepages_1g_total(&self) -> usize
Trait Implementations
impl Clone for Node
[src]
fn clone(&self) -> Node
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more