Enum open_coroutine_core::constants::Syscall
source · #[repr(C)]pub enum Syscall {
Show 34 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,
}
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
Implementations§
source§impl Syscall
impl Syscall
pub fn init_current(current: Self)
pub fn current() -> Option<Self>
pub fn clean_current()
Trait Implementations§
source§impl PartialEq for Syscall
impl PartialEq for Syscall
impl Copy for Syscall
impl Eq for Syscall
impl StructuralEq for Syscall
impl StructuralPartialEq for Syscall
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more