#[repr(C)]pub enum Syscall {
Show 38 variants
sleep = 0,
usleep = 1,
nanosleep = 2,
poll = 3,
select = 4,
accept4 = 5,
epoll_ctl = 6,
epoll_wait = 7,
io_uring_enter = 8,
recv = 9,
recvfrom = 10,
read = 11,
pread = 12,
readv = 13,
preadv = 14,
recvmsg = 15,
connect = 16,
listen = 17,
accept = 18,
shutdown = 19,
close = 20,
socket = 21,
send = 22,
sendto = 23,
write = 24,
pwrite = 25,
writev = 26,
pwritev = 27,
sendmsg = 28,
fsync = 29,
renameat = 30,
renameat2 = 31,
mkdirat = 32,
openat = 33,
pthread_cond_timedwait = 34,
pthread_mutex_trylock = 35,
pthread_mutex_lock = 36,
pthread_mutex_unlock = 37,
}Expand description
Enums used to describe syscall
Variants§
sleep = 0
usleep = 1
nanosleep = 2
poll = 3
select = 4
accept4 = 5
epoll_ctl = 6
epoll_wait = 7
io_uring_enter = 8
recv = 9
recvfrom = 10
read = 11
pread = 12
readv = 13
preadv = 14
recvmsg = 15
connect = 16
listen = 17
accept = 18
shutdown = 19
close = 20
socket = 21
send = 22
sendto = 23
write = 24
pwrite = 25
writev = 26
pwritev = 27
sendmsg = 28
fsync = 29
renameat = 30
renameat2 = 31
mkdirat = 32
openat = 33
pthread_cond_timedwait = 34
pthread_mutex_trylock = 35
pthread_mutex_lock = 36
pthread_mutex_unlock = 37
Implementations§
Trait Implementations§
impl Copy for Syscall
impl Eq for Syscall
impl StructuralPartialEq for Syscall
Auto Trait Implementations§
impl Freeze for Syscall
impl RefUnwindSafe for Syscall
impl Send for Syscall
impl Sync for Syscall
impl Unpin for Syscall
impl UnwindSafe for Syscall
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)