fn read_procstat() -> Result<String> {
        let mut fh = File::open("/proc/stat")?;
        let mut contents = String::new();
        fh.read_to_string(&mut contents)?;
        Ok(contents)
    }
/// Read /proc/stat and return its contents as a string
Read /proc/stat and return its contents as a string
Read / proc / stat and return its contents as a string
fn read_procstat() -> Result<String> {
        let mut fh = File::open("/proc/stat")?;
        let mut contents = String::new();
        fh.read_to_string(&mut contents)?;
        Ok(contents)
    }
fn read_procstat ( ) -> Result < String > { let mut fh = File :: open ( " " ) ? ; let mut contents = String :: new ( ) ; fh . read_to_string ( & mut contents ) ? ; Ok ( contents ) }
Read /proc/stat and return its contents as a string
Read / proc / stat and return its contents as a string