#[repr(transparent)]pub struct SyscallId(pub usize);Expand description
系统调用号。
实现为包装类型,在不损失扩展性的情况下实现类型安全性。
Tuple Fields§
§0: usizeImplementations§
§impl SyscallId
impl SyscallId
pub const IO_SETUP: Self
pub const IO_DESTROY: Self
pub const IO_SUBMIT: Self
pub const IO_CANCEL: Self
pub const IO_GETEVENTS: Self
pub const SETXATTR: Self
pub const LSETXATTR: Self
pub const FSETXATTR: Self
pub const GETXATTR: Self
pub const LGETXATTR: Self
pub const FGETXATTR: Self
pub const LISTXATTR: Self
pub const LLISTXATTR: Self
pub const FLISTXATTR: Self
pub const REMOVEXATTR: Self
pub const LREMOVEXATTR: Self
pub const FREMOVEXATTR: Self
pub const GETCWD: Self
pub const LOOKUP_DCOOKIE: Self
pub const EVENTFD2: Self
pub const EPOLL_CREATE1: Self
pub const EPOLL_CTL: Self
pub const EPOLL_PWAIT: Self
pub const DUP: Self
pub const DUP3: Self
pub const FCNTL: Self
pub const INOTIFY_INIT1: Self
pub const INOTIFY_ADD_WATCH: Self
pub const INOTIFY_RM_WATCH: Self
pub const IOCTL: Self
pub const IOPRIO_SET: Self
pub const IOPRIO_GET: Self
pub const FLOCK: Self
pub const MKNODAT: Self
pub const MKDIRAT: Self
pub const UNLINKAT: Self
pub const SYMLINKAT: Self
pub const LINKAT: Self
pub const UMOUNT2: Self
pub const MOUNT: Self
pub const PIVOT_ROOT: Self
pub const NFSSERVCTL: Self
pub const STATFS: Self
pub const FSTATFS: Self
pub const TRUNCATE: Self
pub const FTRUNCATE: Self
pub const FALLOCATE: Self
pub const FACCESSAT: Self
pub const CHDIR: Self
pub const FCHDIR: Self
pub const CHROOT: Self
pub const FCHMOD: Self
pub const FCHMODAT: Self
pub const FCHOWNAT: Self
pub const FCHOWN: Self
pub const OPENAT: Self
pub const CLOSE: Self
pub const VHANGUP: Self
pub const PIPE2: Self
pub const QUOTACTL: Self
pub const GETDENTS64: Self
pub const LSEEK: Self
pub const READ: Self
pub const WRITE: Self
pub const READV: Self
pub const WRITEV: Self
pub const PREAD64: Self
pub const PWRITE64: Self
pub const PREADV: Self
pub const PWRITEV: Self
pub const SENDFILE: Self
pub const PSELECT6: Self
pub const PPOLL: Self
pub const SIGNALFD4: Self
pub const VMSPLICE: Self
pub const SPLICE: Self
pub const TEE: Self
pub const READLINKAT: Self
pub const NEWFSTATAT: Self
pub const FSTAT: Self
pub const SYNC: Self
pub const FSYNC: Self
pub const FDATASYNC: Self
pub const SYNC_FILE_RANGE: Self
pub const TIMERFD_CREATE: Self
pub const TIMERFD_SETTIME: Self
pub const TIMERFD_GETTIME: Self
pub const UTIMENSAT: Self
pub const ACCT: Self
pub const CAPGET: Self
pub const CAPSET: Self
pub const PERSONALITY: Self
pub const EXIT: Self
pub const EXIT_GROUP: Self
pub const WAITID: Self
pub const SET_TID_ADDRESS: Self
pub const UNSHARE: Self
pub const FUTEX: Self
pub const SET_ROBUST_LIST: Self
pub const GET_ROBUST_LIST: Self
pub const NANOSLEEP: Self
pub const GETITIMER: Self
pub const SETITIMER: Self
pub const KEXEC_LOAD: Self
pub const INIT_MODULE: Self
pub const DELETE_MODULE: Self
pub const TIMER_CREATE: Self
pub const TIMER_GETTIME: Self
pub const TIMER_GETOVERRUN: Self
pub const TIMER_SETTIME: Self
pub const TIMER_DELETE: Self
pub const CLOCK_SETTIME: Self
pub const CLOCK_GETTIME: Self
pub const CLOCK_GETRES: Self
pub const CLOCK_NANOSLEEP: Self
pub const SYSLOG: Self
pub const PTRACE: Self
pub const SCHED_SETPARAM: Self
pub const SCHED_SETSCHEDULER: Self
pub const SCHED_GETSCHEDULER: Self
pub const SCHED_GETPARAM: Self
pub const SCHED_SETAFFINITY: Self
pub const SCHED_GETAFFINITY: Self
pub const SCHED_YIELD: Self
pub const SCHED_GET_PRIORITY_MAX: Self
pub const SCHED_GET_PRIORITY_MIN: Self
pub const SCHED_RR_GET_INTERVAL: Self
pub const RESTART_SYSCALL: Self
pub const KILL: Self
pub const TKILL: Self
pub const TGKILL: Self
pub const SIGALTSTACK: Self
pub const RT_SIGSUSPEND: Self
pub const RT_SIGACTION: Self
pub const RT_SIGPROCMASK: Self
pub const RT_SIGPENDING: Self
pub const RT_SIGTIMEDWAIT: Self
pub const RT_SIGQUEUEINFO: Self
pub const RT_SIGRETURN: Self
pub const SETPRIORITY: Self
pub const GETPRIORITY: Self
pub const REBOOT: Self
pub const SETREGID: Self
pub const SETGID: Self
pub const SETREUID: Self
pub const SETUID: Self
pub const SETRESUID: Self
pub const GETRESUID: Self
pub const SETRESGID: Self
pub const GETRESGID: Self
pub const SETFSUID: Self
pub const SETFSGID: Self
pub const TIMES: Self
pub const SETPGID: Self
pub const GETPGID: Self
pub const GETSID: Self
pub const SETSID: Self
pub const GETGROUPS: Self
pub const SETGROUPS: Self
pub const UNAME: Self
pub const SETHOSTNAME: Self
pub const SETDOMAINNAME: Self
pub const GETRLIMIT: Self
pub const SETRLIMIT: Self
pub const GETRUSAGE: Self
pub const UMASK: Self
pub const PRCTL: Self
pub const GETCPU: Self
pub const GETTIMEOFDAY: Self
pub const SETTIMEOFDAY: Self
pub const ADJTIMEX: Self
pub const GETPID: Self
pub const GETPPID: Self
pub const GETUID: Self
pub const GETEUID: Self
pub const GETGID: Self
pub const GETEGID: Self
pub const GETTID: Self
pub const SYSINFO: Self
pub const MQ_OPEN: Self
pub const MQ_UNLINK: Self
pub const MQ_TIMEDSEND: Self
pub const MQ_TIMEDRECEIVE: Self
pub const MQ_NOTIFY: Self
pub const MQ_GETSETATTR: Self
pub const MSGGET: Self
pub const MSGCTL: Self
pub const MSGRCV: Self
pub const MSGSND: Self
pub const SEMGET: Self
pub const SEMCTL: Self
pub const SEMTIMEDOP: Self
pub const SEMOP: Self
pub const SHMGET: Self
pub const SHMCTL: Self
pub const SHMAT: Self
pub const SHMDT: Self
pub const SOCKET: Self
pub const SOCKETPAIR: Self
pub const BIND: Self
pub const LISTEN: Self
pub const ACCEPT: Self
pub const CONNECT: Self
pub const GETSOCKNAME: Self
pub const GETPEERNAME: Self
pub const SENDTO: Self
pub const RECVFROM: Self
pub const SETSOCKOPT: Self
pub const GETSOCKOPT: Self
pub const SHUTDOWN: Self
pub const SENDMSG: Self
pub const RECVMSG: Self
pub const READAHEAD: Self
pub const BRK: Self
pub const MUNMAP: Self
pub const MREMAP: Self
pub const ADD_KEY: Self
pub const REQUEST_KEY: Self
pub const KEYCTL: Self
pub const CLONE: Self
pub const EXECVE: Self
pub const MMAP: Self
pub const FADVISE64: Self
pub const SWAPON: Self
pub const SWAPOFF: Self
pub const MPROTECT: Self
pub const MSYNC: Self
pub const MLOCK: Self
pub const MUNLOCK: Self
pub const MLOCKALL: Self
pub const MUNLOCKALL: Self
pub const MINCORE: Self
pub const MADVISE: Self
pub const REMAP_FILE_PAGES: Self
pub const MBIND: Self
pub const GET_MEMPOLICY: Self
pub const SET_MEMPOLICY: Self
pub const MIGRATE_PAGES: Self
pub const MOVE_PAGES: Self
pub const RT_TGSIGQUEUEINFO: Self
pub const PERF_EVENT_OPEN: Self
pub const ACCEPT4: Self
pub const RECVMMSG: Self
pub const ARCH_SPECIFIC_SYSCALL: Self
pub const WAIT4: Self
pub const PRLIMIT64: Self
pub const FANOTIFY_INIT: Self
pub const FANOTIFY_MARK: Self
pub const NAME_TO_HANDLE_AT: Self
pub const OPEN_BY_HANDLE_AT: Self
pub const CLOCK_ADJTIME: Self
pub const SYNCFS: Self
pub const SETNS: Self
pub const SENDMMSG: Self
pub const PROCESS_VM_READV: Self
pub const PROCESS_VM_WRITEV: Self
pub const KCMP: Self
pub const FINIT_MODULE: Self
pub const SCHED_SETATTR: Self
pub const SCHED_GETATTR: Self
pub const RENAMEAT2: Self
pub const SECCOMP: Self
pub const GETRANDOM: Self
pub const MEMFD_CREATE: Self
pub const BPF: Self
pub const EXECVEAT: Self
pub const USERFAULTFD: Self
pub const MEMBARRIER: Self
pub const MLOCK2: Self
pub const COPY_FILE_RANGE: Self
pub const PREADV2: Self
pub const PWRITEV2: Self
pub const PKEY_MPROTECT: Self
pub const PKEY_ALLOC: Self
pub const PKEY_FREE: Self
pub const STATX: Self
pub const IO_PGETEVENTS: Self
pub const RSEQ: Self
pub const KEXEC_FILE_LOAD: Self
pub const PIDFD_SEND_SIGNAL: Self
pub const IO_URING_SETUP: Self
pub const IO_URING_ENTER: Self
pub const IO_URING_REGISTER: Self
pub const THREAD_CREATE: Self
pub const MUTEX_CREATE: Self
pub const MUTEX_LOCK: Self
pub const MUTEX_UNLOCK: Self
pub const SEMAPHORE_CREATE: Self
pub const SEMAPHORE_UP: Self
pub const SEMAPHORE_DOWN: Self
pub const CONDVAR_CREATE: Self
pub const CONDVAR_SIGNAL: Self
pub const CONDVAR_WAIT: Self
Trait Implementations§
impl Copy for SyscallId
impl Eq for SyscallId
impl StructuralPartialEq for SyscallId
Auto Trait Implementations§
impl Freeze for SyscallId
impl RefUnwindSafe for SyscallId
impl Send for SyscallId
impl Sync for SyscallId
impl Unpin for SyscallId
impl UnwindSafe for SyscallId
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