[−][src]Enum polyfuse::Operation
The kind of FUSE requests received from the kernel.
Variants
Lookup(Lookup<'a>)
Look up a directory entry by name.
Forget about inodes removed from the kernel's internal caches.
Getattr(Getattr<'a>)
Get file attributes.
Setattr(Setattr<'a>)
Set file attributes.
Readlink(Readlink<'a>)
Read a symbolic link.
Symlink(Symlink<'a>)
Create a symbolic link
Mknod(Mknod<'a>)
Create a file node.
Mkdir(Mkdir<'a>)
Create a directory.
Unlink(Unlink<'a>)
Remove a file.
Rmdir(Rmdir<'a>)
Remove a directory.
Rename(Rename<'a>)
Rename a file.
Link(Link<'a>)
Create a hard link.
Open(Open<'a>)
Open a file.
Read(Read<'a>)
Read data from an opened file.
Write(Write<'a>, T)
Write data to an opened file.
Release(Release<'a>)
Release an opened file.
Statfs(Statfs<'a>)
Get the filesystem statistics.
Fsync(Fsync<'a>)
Synchronize the file contents of an opened file.
When the parameter datasync
is true, only the
file contents should be flushed and the metadata
does not have to be flushed.
Setxattr(Setxattr<'a>)
Set an extended attribute.
Getxattr(Getxattr<'a>)
Get an extended attribute.
The operation should send the length of attribute's value
with reply.size(n)
when size
is equal to zero.
Listxattr(Listxattr<'a>)
List extended attribute names.
The attribute names must be seperated by a null character
(i.e. b'\0'
).
The operation should send the length of attribute names
with reply.size(n)
when size
is equal to zero.
Removexattr(Removexattr<'a>)
Remove an extended attribute.
Flush(Flush<'a>)
Close a file descriptor.
Opendir(Opendir<'a>)
Open a directory.
Readdir(Readdir<'a>)
Read contents from an opened directory.
Releasedir(Releasedir<'a>)
Release an opened directory.
Fsyncdir(Fsyncdir<'a>)
Synchronize an opened directory contents.
When the parameter datasync
is true, only the
directory contents should be flushed and the metadata
does not have to be flushed.
Getlk(Getlk<'a>)
Test for a POSIX file lock.
Setlk(Setlk<'a>)
Acquire, modify or release a POSIX file lock.
Flock(Flock<'a>)
Acquire, modify or release a BSD file lock.
Access(Access<'a>)
Check file access permissions.
Create(Create<'a>)
Create and open a file.
Bmap(Bmap<'a>)
Map block index within a file to block index within device.
This operation makes sense only for filesystems that use
block devices, and is called only when the mount options
contains blkdev
.
Fallocate(Fallocate<'a>)
Allocate requested space to an opened file.
CopyFileRange(CopyFileRange<'a>)
Copy a range of data from an opened file to another.
Poll(Poll<'a>)
Poll for readiness.
When kh
is not None
, the filesystem should send
the notification about I/O readiness to the kernel.
Trait Implementations
Auto Trait Implementations
impl<'a, T> Send for Operation<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for Operation<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for Operation<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for Operation<'a, T> where
T: UnwindSafe,
T: UnwindSafe,
impl<'a, T> RefUnwindSafe for Operation<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,