pub fn atime(&self) -> Option<timespec> {
        let mut ts = timespec {
            tv_sec: self.attr.st_atime,
            tv_nsec: 0,
        };
        match self.to_set & (FUSE_SET_ATTR_ATIME | FUSE_SET_ATTR_ATIME_NOW) {
            FUSE_SET_ATTR_ATIME_NOW => {
                ts.tv_nsec = libc::UTIME_NOW;
            }
            FUSE_SET_ATTR_ATIME => {
                ts.tv_nsec = self.attr.st_atime_nsec;
            }
            _ => return None,
        }
        Some(ts)
    }
/// Returns the access time if specified.
Returns the access time if specified.
Returns the access time if specified .
pub fn atime(&self) -> Option<timespec> {
        let mut ts = timespec {
            tv_sec: self.attr.st_atime,
            tv_nsec: 0,
        };
        match self.to_set & (FUSE_SET_ATTR_ATIME | FUSE_SET_ATTR_ATIME_NOW) {
            FUSE_SET_ATTR_ATIME_NOW => {
                ts.tv_nsec = libc::UTIME_NOW;
            }
            FUSE_SET_ATTR_ATIME => {
                ts.tv_nsec = self.attr.st_atime_nsec;
            }
            _ => return None,
        }
        Some(ts)
    }
pub fn atime ( & self ) -> Option < timespec > { let mut ts = timespec { tv_sec : self . attr . st_atime , tv_nsec : 0 , } ; match self . to_set & ( FUSE_SET_ATTR_ATIME | FUSE_SET_ATTR_ATIME_NOW ) { FUSE_SET_ATTR_ATIME_NOW => { ts . tv_nsec = libc :: UTIME_NOW ; } FUSE_SET_ATTR_ATIME => { ts . tv_nsec = self . attr . st_atime_nsec ; } _ => return None , } Some ( ts ) }
Returns the access time if specified.
Returns the access time if specified .
&self