pub fn size_fd(&self, fd: usize) -> Option<usize> {
        self.file_descriptors
            .get(&fd)
            .and_then(|fd| self.files.get(fd.path()))
            .map(|file_contents| file_contents.len())
    }
/// Get size of file pointed to by file descriptor
Get size of file pointed to by file descriptor
Get size of file pointed to by file descriptor
pub fn size_fd(&self, fd: usize) -> Option<usize> {
        self.file_descriptors
            .get(&fd)
            .and_then(|fd| self.files.get(fd.path()))
            .map(|file_contents| file_contents.len())
    }
pub fn size_fd ( & self , fd : usize ) -> Option < usize > { self . file_descriptors . get ( & fd ) . and_then ( | fd | self . files . get ( fd . path ( ) ) ) . map ( | file_contents | file_contents . len ( ) ) }
Get size of file pointed to by file descriptor
Get size of file pointed to by file descriptor
&self
fd
usize