[−][src]Struct libfuse_sys::fuse_lowlevel::fuse_entry_param
Directory entry parameters supplied to fuse_reply_entry()
Fields
ino: fuse_ino_t
Unique inode number
In lookup, zero means negative entry (from version 2.5) Returning ENOENT also means negative entry, but by setting zero ino the kernel may cache negative entries for entry_timeout seconds.
generation: c_ulong
Generation number for this entry.
If the file system will be exported over NFS, the ino/generation pairs need to be unique over the file system's lifetime (rather than just the mount time). So if the file system reuses an inode after it has been deleted, it must assign a new, previously unused generation number to the inode at the same time.
The generation must be non-zero, otherwise FUSE will treat it as an error.
attr: stat
Inode attributes.
Even if attr_timeout == 0, attr must be correct. For example, for open(), FUSE uses attr.st_size from lookup() to determine how many bytes to request. If this value is not correct, incorrect data will be returned.
attr_timeout: f64
Validity timeout (in seconds) for the attributes
entry_timeout: f64
Validity timeout (in seconds) for the name
Trait Implementations
impl Default for fuse_entry_param
[src]
Auto Trait Implementations
impl RefUnwindSafe for fuse_entry_param
impl Send for fuse_entry_param
impl Sync for fuse_entry_param
impl Unpin for fuse_entry_param
impl UnwindSafe for fuse_entry_param
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,