Struct fuse::ReplyDirectoryPlus
[−]
[src]
pub struct ReplyDirectoryPlus { /* fields omitted */ }
DirectoryPlus reply
Methods
impl ReplyDirectoryPlus
[src]
fn new<S: ReplySender>(
unique: u64,
sender: S,
size: usize
) -> ReplyDirectoryPlus
[src]
unique: u64,
sender: S,
size: usize
) -> ReplyDirectoryPlus
Creates a new ReplyDirectory with a specified buffer size.
fn add<T: AsRef<OsStr>>(
&mut self,
ino: u64,
offset: i64,
name: T,
ttl: &Timespec,
attr: &FileAttr,
generation: u64
) -> bool
[src]
&mut self,
ino: u64,
offset: i64,
name: T,
ttl: &Timespec,
attr: &FileAttr,
generation: u64
) -> bool
Add an entry to the directory reply buffer. Returns true if the buffer is full. A transparent offset value can be provided for each entry. The kernel uses these value to request the next entries in further readdir calls
fn ok(self)
[src]
Reply to a request with the filled directory buffer
fn error(self, err: c_int)
[src]
Reply to a request with the given error code