Operation

Trait Operation 

Source
pub trait Operation<'o>: Sealed + Sized {
    type RequestBody: Structured<'o>;
    type ReplyState;
}

Required Associated Types§

Source

type RequestBody: Structured<'o>

Source

type ReplyState

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'o> Operation<'o> for Access

Source§

type RequestBody = &'o AccessIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Any

Source§

impl<'o> Operation<'o> for Bmap

Source§

type RequestBody = &'o BmapIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Create

Source§

type RequestBody = (&'o CreateIn, &'o CStr)

Source§

type ReplyState = OpenOutFlags

Source§

impl<'o> Operation<'o> for Flush

Source§

type RequestBody = &'o FlushIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Forget

Source§

type RequestBody = OpcodeSelect<(&'o BatchForgetIn, &'o [ForgetOne]), &'o ForgetIn, { proto::Opcode::BatchForget as u32 }>

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Fsync

Source§

type RequestBody = &'o FsyncIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Fsyncdir

Source§

type RequestBody = &'o FsyncdirIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Getattr

Source§

type RequestBody = &'o GetattrIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Getxattr

Source§

type RequestBody = (&'o GetxattrIn, &'o CStr)

Source§

type ReplyState = XattrReadState

Source§

impl<'o> Operation<'o> for Init

Source§

type RequestBody = &'o InitIn

Source§

type ReplyState = InitState

Source§

type RequestBody = (&'o LinkIn, &'o CStr)

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Listxattr

Source§

type RequestBody = &'o ListxattrIn

Source§

type ReplyState = XattrReadState

Source§

impl<'o> Operation<'o> for Lookup

Source§

impl<'o> Operation<'o> for Mkdir

Source§

type RequestBody = (&'o MkdirIn, &'o CStr)

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Mknod

Source§

type RequestBody = (&'o MknodIn, &'o CStr)

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Open

Source§

type RequestBody = &'o OpenIn

Source§

type ReplyState = OpenOutFlags

Source§

impl<'o> Operation<'o> for Opendir

Source§

type RequestBody = &'o OpendirIn

Source§

type ReplyState = OpenOutFlags

Source§

impl<'o> Operation<'o> for Read

Source§

type RequestBody = &'o ReadIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Readdir

Source§

type RequestBody = OpcodeSelect<&'o ReaddirPlusIn, &'o ReaddirIn, { proto::Opcode::ReaddirPlus as u32 }>

Source§

type ReplyState = ReaddirState<()>

Source§

impl<'o> Operation<'o> for Release

Source§

type RequestBody = &'o ReleaseIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Releasedir

Source§

type RequestBody = &'o ReleasedirIn

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Removexattr

Source§

impl<'o> Operation<'o> for Rmdir

Source§

impl<'o> Operation<'o> for Setxattr

Source§

type RequestBody = (&'o SetxattrIn, &'o CStr, &'o [u8])

Source§

type ReplyState = ()

Source§

impl<'o> Operation<'o> for Statfs

Source§

impl<'o> Operation<'o> for Write

Source§

type RequestBody = (&'o WriteIn, &'o [u8])

Source§

type ReplyState = WriteState

Source§

impl<'o, B> Operation<'o> for BufferedReaddir<B>

Source§

type RequestBody = ()

Source§

type ReplyState = ReaddirState<B>