pub fn load() -> MemInfo {
        let contents = match File::open("/proc/meminfo") {
            Ok(ref mut content) => {
                let mut s = String::new();
                let _ = content.read_to_string(&mut s);
                s
            }
            Err(e) => panic!("Unable to open /proc/meminfo: {:?}", e),
        };

        MemInfo::from_str(&contents).unwrap()
    }
/// Read the data from /proc/meminfo into a `MemInfo`
Read the data from /proc/meminfo into a `MemInfo`
Read the data from / proc / meminfo into a ` MemInfo `
pub fn load() -> MemInfo {
        let contents = match File::open("/proc/meminfo") {
            Ok(ref mut content) => {
                let mut s = String::new();
                let _ = content.read_to_string(&mut s);
                s
            }
            Err(e) => panic!("Unable to open /proc/meminfo: {:?}", e),
        };
        MemInfo::from_str(&contents).unwrap()
    }
pub fn load ( ) -> MemInfo { let contents = match File :: open ( " " ) { Ok ( ref mut content ) => { let mut s = String :: new ( ) ; let _ = content . read_to_string ( & mut s ) ; s } Err ( e ) => panic ! ( " " e ) , } ; MemInfo :: from_str ( & contents ) . unwrap ( ) }
Read the data from /proc/meminfo into a `MemInfo`
Read the data from / proc / meminfo into a ` MemInfo `