#[repr(C)]pub enum SyscallName {
Show 45 variants
sleep = 0,
usleep = 1,
nanosleep = 2,
poll = 3,
select = 4,
accept4 = 5,
epoll_ctl = 6,
epoll_wait = 7,
io_uring_enter = 8,
setsockopt = 9,
recv = 10,
recvfrom = 11,
read = 12,
pread = 13,
readv = 14,
preadv = 15,
recvmsg = 16,
connect = 17,
listen = 18,
accept = 19,
shutdown = 20,
close = 21,
socket = 22,
send = 23,
sendto = 24,
write = 25,
pwrite = 26,
writev = 27,
pwritev = 28,
sendmsg = 29,
fsync = 30,
renameat = 31,
renameat2 = 32,
mkdir = 33,
mkdirat = 34,
rmdir = 35,
lseek = 36,
openat = 37,
link = 38,
unlink = 39,
pthread_cond_timedwait = 40,
pthread_mutex_trylock = 41,
pthread_mutex_lock = 42,
pthread_mutex_unlock = 43,
panicking = 44,
}
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
setsockopt = 9
recv = 10
recvfrom = 11
read = 12
pread = 13
readv = 14
preadv = 15
recvmsg = 16
connect = 17
listen = 18
accept = 19
shutdown = 20
close = 21
socket = 22
send = 23
sendto = 24
write = 25
pwrite = 26
writev = 27
pwritev = 28
sendmsg = 29
fsync = 30
renameat = 31
renameat2 = 32
mkdir = 33
mkdirat = 34
rmdir = 35
lseek = 36
openat = 37
link = 38
unlink = 39
pthread_cond_timedwait = 40
pthread_mutex_trylock = 41
pthread_mutex_lock = 42
pthread_mutex_unlock = 43
panicking = 44
panic!
Implementations§
Source§impl SyscallName
impl SyscallName
Trait Implementations§
Source§impl Clone for SyscallName
impl Clone for SyscallName
Source§fn clone(&self) -> SyscallName
fn clone(&self) -> SyscallName
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyscallName
impl Debug for SyscallName
Source§impl Display for SyscallNamewhere
SyscallName: Debug,
impl Display for SyscallNamewhere
SyscallName: Debug,
Source§impl From<SyscallName> for &str
impl From<SyscallName> for &str
Source§fn from(val: SyscallName) -> Self
fn from(val: SyscallName) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SyscallName
impl PartialEq for SyscallName
impl Copy for SyscallName
impl Eq for SyscallName
impl StructuralPartialEq for SyscallName
Auto Trait Implementations§
impl Freeze for SyscallName
impl RefUnwindSafe for SyscallName
impl Send for SyscallName
impl Sync for SyscallName
impl Unpin for SyscallName
impl UnwindSafe for SyscallName
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