#[non_exhaustive]#[repr(u8)]pub enum Opcode {
Show 27 variants
Open = 0,
Rmdir = 1,
Unlink = 2,
Close = 3,
Dup = 4,
Read = 5,
Write = 6,
Fsize = 7,
Fchmod = 8,
Fchown = 9,
Fcntl = 10,
Fevent = 11,
Sendfd = 12,
Fpath = 13,
Frename = 14,
Fstat = 15,
Fstatvfs = 16,
Fsync = 17,
Ftruncate = 18,
Futimens = 19,
MmapPrep = 20,
RequestMmap = 21,
Mremap = 22,
Munmap = 23,
Msync = 24,
Cancel = 25,
Getdents = 26,
}
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.
Open = 0
Rmdir = 1
Unlink = 2
Close = 3
Dup = 4
Read = 5
Write = 6
Fsize = 7
Fchmod = 8
Fchown = 9
Fcntl = 10
Fevent = 11
Sendfd = 12
Fpath = 13
Frename = 14
Fstat = 15
Fstatvfs = 16
Fsync = 17
Ftruncate = 18
Futimens = 19
MmapPrep = 20
RequestMmap = 21
Mremap = 22
Munmap = 23
Msync = 24
Cancel = 25
Getdents = 26
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)