/// Create a new reply with a directory entry.
Create a new reply with a directory entry.
Create a new reply with a directory entry .
pub fn new(ttl: &Duration, attr: &FileAttr, generation: u64) -> Self {
        Self {
            inner: fuse_entry_out {
                nodeid: attr.ino,
                generation,
                entry_valid: ttl.as_secs(),
                attr_valid: ttl.as_secs(),
                entry_valid_nsec: ttl.subsec_nanos(),
                attr_valid_nsec: ttl.subsec_nanos(),
                attr: fuse_attr_from_attr(attr),
            },
        }
    }
pub fn new ( ttl : & Duration , attr : & FileAttr , generation : u64 ) -> Self { Self { inner : fuse_entry_out { nodeid : attr . ino , generation , entry_valid : ttl . as_secs ( ) , attr_valid : ttl . as_secs ( ) , entry_valid_nsec : ttl . subsec_nanos ( ) , attr_valid_nsec : ttl . subsec_nanos ( ) , attr : fuse_attr_from_attr ( attr ) , } , } }
Create a new reply with a directory entry.
Create a new reply with a directory entry .
ttl
&Duration
attr
&FileAttr
generation
u64