[][src]Struct lpfs::proc::BuddyInfo

pub struct BuddyInfo { /* fields omitted */ }

Represent the an entry of /proc/buddyinfo

Reference to [mm/vmstat.c] (https://github.com/torvalds/linux/blob/89d57dddd7d319ded00415790a0bb3c954b7e386/mm/vmstat.c#L1356).

Methods

impl BuddyInfo[src]

pub fn node(&self) -> &i32[src]

pub fn zone(&self) -> &String[src]

pub fn free_areas(&self) -> &[u64; 11][src]

Trait Implementations

impl Clone for BuddyInfo[src]

impl Debug for BuddyInfo[src]

impl FromStr for BuddyInfo[src]

type Err = ProcErr

The associated error which can be returned from parsing.

impl PartialEq<BuddyInfo> for BuddyInfo[src]

impl StructuralPartialEq for BuddyInfo[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.