You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: statm.rs
    path of file: ./repos/heim/heim-process/src/sys/linux/process/procfs
    
    the code of the file until where you have to start completion: use std::str::FromStr;

use heim_common::prelude::*;
use heim_common::units::{information, Information};
use heim_common::utils::iter::ParseIterator;
use heim_runtime as rt;

use crate::sys::linux::process::procfs::process_file_path;
use crate::{Pid, ProcessResult};

// TODO: Join with `heim-memory/src/sys/macos/mod.rs:PAGE_SIZE`
lazy_static::lazy_static! {
    static ref PAGE_SIZE: u64 = {
        unsafe {
            libc::sysconf(libc::_SC_PAGESIZE) as u64
        }
    };
}

#[derive(Debug)]
pub struct Memory {
    size: Information,
    resident: Information,
    shared: Information,
    text: Information,
    data: 
    
    fn from_str(value: &str) -> Result<Memory> {
        let mut parts = value.split_ascii_whitespace();
        let size = parts
            .try_parse_next::<u64, _>()
            .map(|value| Information::new::<information::byte>(value * *PAGE_SIZE))?;
        let resident = parts
            .try_parse_next::<u64, _>()
            .map(|value| Information::new::<information::byte>(value * *PAGE_SIZE))?;
        let shared = parts
            .try_parse_next::<u64, _>()
            .map(|value| Information::new::<information::byte>(value * *PAGE_SIZE))?;
        let text = parts
            .try_parse_next::<u64, _>()
            .map(|value| Information::new::<information::byte>(value * *PAGE_SIZE))?;
        let _lib = parts.next();
        let data = parts
            .try_parse_next::<u64, _>()
            .map(|value| Information::new::<information::byte>(value * *PAGE_SIZE))?;

        Ok(Memory {
            size,
            resident,
            shared,
            text,
            data,
        })
    }