[][src]Enum polyfuse::op::Operation

#[non_exhaustive]pub enum Operation<'op, T> {
    Lookup(Lookup<'op>),
    Getattr(Getattr<'op>),
    Setattr(Setattr<'op>),
    Readlink(Readlink<'op>),
    Symlink(Symlink<'op>),
    Mknod(Mknod<'op>),
    Mkdir(Mkdir<'op>),
    Unlink(Unlink<'op>),
    Rmdir(Rmdir<'op>),
    Rename(Rename<'op>),
    Link(Link<'op>),
    Open(Open<'op>),
    Read(Read<'op>),
    Write(Write<'op>, T),
    Release(Release<'op>),
    Statfs(Statfs<'op>),
    Fsync(Fsync<'op>),
    Setxattr(Setxattr<'op>),
    Getxattr(Getxattr<'op>),
    Listxattr(Listxattr<'op>),
    Removexattr(Removexattr<'op>),
    Flush(Flush<'op>),
    Opendir(Opendir<'op>),
    Readdir(Readdir<'op>),
    Releasedir(Releasedir<'op>),
    Fsyncdir(Fsyncdir<'op>),
    Getlk(Getlk<'op>),
    Setlk(Setlk<'op>),
    Flock(Flock<'op>),
    Access(Access<'op>),
    Create(Create<'op>),
    Bmap(Bmap<'op>),
    Fallocate(Fallocate<'op>),
    CopyFileRange(CopyFileRange<'op>),
    Poll(Poll<'op>),
    Forget(Forgets<'op>),
    Interrupt(Interrupt<'op>),
    NotifyReply(NotifyReply<'op>, T),
    // some variants omitted
}

The kind of filesystem operation requested by the kernel.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Lookup(Lookup<'op>)
Getattr(Getattr<'op>)
Setattr(Setattr<'op>)
Mknod(Mknod<'op>)
Mkdir(Mkdir<'op>)
Rmdir(Rmdir<'op>)
Rename(Rename<'op>)
Open(Open<'op>)
Read(Read<'op>)
Write(Write<'op>, T)
Release(Release<'op>)
Statfs(Statfs<'op>)
Fsync(Fsync<'op>)
Setxattr(Setxattr<'op>)
Getxattr(Getxattr<'op>)
Listxattr(Listxattr<'op>)
Removexattr(Removexattr<'op>)
Flush(Flush<'op>)
Opendir(Opendir<'op>)
Readdir(Readdir<'op>)
Releasedir(Releasedir<'op>)
Fsyncdir(Fsyncdir<'op>)
Getlk(Getlk<'op>)
Setlk(Setlk<'op>)
Flock(Flock<'op>)
Access(Access<'op>)
Create(Create<'op>)
Bmap(Bmap<'op>)
Fallocate(Fallocate<'op>)
CopyFileRange(CopyFileRange<'op>)
Poll(Poll<'op>)
Forget(Forgets<'op>)
Interrupt(Interrupt<'op>)
NotifyReply(NotifyReply<'op>, T)

Trait Implementations

impl<T, '_> Debug for Operation<'_, T> where
    T: Debug
[src]

Auto Trait Implementations

impl<'op, T> RefUnwindSafe for Operation<'op, T> where
    T: RefUnwindSafe
[src]

impl<'op, T> Send for Operation<'op, T> where
    T: Send
[src]

impl<'op, T> Sync for Operation<'op, T> where
    T: Sync
[src]

impl<'op, T> Unpin for Operation<'op, T> where
    T: Unpin
[src]

impl<'op, T> UnwindSafe for Operation<'op, T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.