FuseOpCode

Enum FuseOpCode 

Source
#[non_exhaustive]
#[repr(C)]
pub enum FuseOpCode {
Show 46 variants FUSE_LOOKUP = 1, FUSE_FORGET = 2, FUSE_GETATTR = 3, FUSE_SETATTR = 4, FUSE_READLINK = 5, FUSE_SYMLINK = 6, FUSE_MKNOD = 8, FUSE_MKDIR = 9, FUSE_UNLINK = 10, FUSE_RMDIR = 11, FUSE_RENAME = 12, FUSE_LINK = 13, FUSE_OPEN = 14, FUSE_READ = 15, FUSE_WRITE = 16, FUSE_STATFS = 17, FUSE_RELEASE = 18, FUSE_FSYNC = 20, FUSE_SETXATTR = 21, FUSE_GETXATTR = 22, FUSE_LISTXATTR = 23, FUSE_REMOVEXATTR = 24, FUSE_FLUSH = 25, FUSE_INIT = 26, FUSE_OPENDIR = 27, FUSE_READDIR = 28, FUSE_RELEASEDIR = 29, FUSE_FSYNCDIR = 30, FUSE_GETLK = 31, FUSE_SETLK = 32, FUSE_SETLKW = 33, FUSE_ACCESS = 34, FUSE_CREATE = 35, FUSE_INTERRUPT = 36, FUSE_BMAP = 37, FUSE_DESTROY = 38, FUSE_IOCTL = 39, FUSE_POLL = 40, FUSE_NOTIFY_REPLY = 41, FUSE_BATCH_FORGET = 42, FUSE_FALLOCATE = 43, FUSE_READDIRPLUS = 44, FUSE_RENAME2 = 45, FUSE_LSEEK = 46, FUSE_COPY_FILE_RANGE = 47, CUSE_INIT = 4_096,
}
Expand description

FUSE operation code fuse_opcode

Variants (Non-exhaustive)§

This enum is marked as 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.
§

FUSE_LOOKUP = 1

Look up a directory entry by name and get its attributes

§

FUSE_FORGET = 2

Forget about an inode, no reply

§

FUSE_GETATTR = 3

Get file attributes

§

FUSE_SETATTR = 4

Set file attributes

Read symbolic link

Create a symbolic link

§

FUSE_MKNOD = 8

Create file node

§

FUSE_MKDIR = 9

Create a directory

Remove a file

§

FUSE_RMDIR = 11

Remove a directory

§

FUSE_RENAME = 12

Rename a file

Create a hard link

§

FUSE_OPEN = 14

Open a file

§

FUSE_READ = 15

Read data from file

§

FUSE_WRITE = 16

Write data to file

§

FUSE_STATFS = 17

Get file system statistics

§

FUSE_RELEASE = 18

Release an open file

§

FUSE_FSYNC = 20

Synchronize file contents

§

FUSE_SETXATTR = 21

Set an extended attribute

§

FUSE_GETXATTR = 22

Get an extended attribute

§

FUSE_LISTXATTR = 23

List extended attribute names

§

FUSE_REMOVEXATTR = 24

Remove an extended attribute

§

FUSE_FLUSH = 25

Flush file

§

FUSE_INIT = 26

Initialize filesystem

§

FUSE_OPENDIR = 27

Open a directory

§

FUSE_READDIR = 28

Read directory

§

FUSE_RELEASEDIR = 29

Release an open directory

§

FUSE_FSYNCDIR = 30

Synchronize directory contents

§

FUSE_GETLK = 31

Test for a POSIX file lock

§

FUSE_SETLK = 32

Acquire, modify or release a POSIX file lock

§

FUSE_SETLKW = 33

Acquire, modify or release a POSIX file lock and wait

§

FUSE_ACCESS = 34

Check file access permissions

§

FUSE_CREATE = 35

Create and open a file

§

FUSE_INTERRUPT = 36

Interrupt a previous FUSE request

§

FUSE_BMAP = 37

Map block index withClean up filesystemin file to block index within device

§

FUSE_DESTROY = 38

Clean up filesystem

§

FUSE_IOCTL = 39

Ioctl

§

FUSE_POLL = 40

Poll for IO readiness

§

FUSE_NOTIFY_REPLY = 41

A reply to a NOTIFY_RETRIEVE notification

§

FUSE_BATCH_FORGET = 42

Batch forget inodes

§

FUSE_FALLOCATE = 43

Allocate requested space

§

FUSE_READDIRPLUS = 44

Read directory with attributes

§

FUSE_RENAME2 = 45

Rename2

§

FUSE_LSEEK = 46

Find next data or hole after the specified offset

§

FUSE_COPY_FILE_RANGE = 47

Copy a range of data from an opened file to another

§

CUSE_INIT = 4_096

CUSE specific operations

Trait Implementations§

Source§

impl Debug for FuseOpCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<U> Cast for U

Source§

fn cast<T>(self) -> T
where T: TryFrom<Self>, Self: Sized + Display + Copy,

Performs the conversion.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more