Enum Sysno

Source
#[non_exhaustive]
#[repr(i32)]
pub enum Sysno {
Show 436 variants syscall = 4_000, exit = 4_001, fork = 4_002, read = 4_003, write = 4_004, open = 4_005, close = 4_006, waitpid = 4_007, creat = 4_008, link = 4_009, unlink = 4_010, execve = 4_011, chdir = 4_012, time = 4_013, mknod = 4_014, chmod = 4_015, lchown = 4_016, break_ = 4_017, unused18 = 4_018, lseek = 4_019, getpid = 4_020, mount = 4_021, umount = 4_022, setuid = 4_023, getuid = 4_024, stime = 4_025, ptrace = 4_026, alarm = 4_027, unused28 = 4_028, pause = 4_029, utime = 4_030, stty = 4_031, gtty = 4_032, access = 4_033, nice = 4_034, ftime = 4_035, sync = 4_036, kill = 4_037, rename = 4_038, mkdir = 4_039, rmdir = 4_040, dup = 4_041, pipe = 4_042, times = 4_043, prof = 4_044, brk = 4_045, setgid = 4_046, getgid = 4_047, signal = 4_048, geteuid = 4_049, getegid = 4_050, acct = 4_051, umount2 = 4_052, lock = 4_053, ioctl = 4_054, fcntl = 4_055, mpx = 4_056, setpgid = 4_057, ulimit = 4_058, unused59 = 4_059, umask = 4_060, chroot = 4_061, ustat = 4_062, dup2 = 4_063, getppid = 4_064, getpgrp = 4_065, setsid = 4_066, sigaction = 4_067, sgetmask = 4_068, ssetmask = 4_069, setreuid = 4_070, setregid = 4_071, sigsuspend = 4_072, sigpending = 4_073, sethostname = 4_074, setrlimit = 4_075, getrlimit = 4_076, getrusage = 4_077, gettimeofday = 4_078, settimeofday = 4_079, getgroups = 4_080, setgroups = 4_081, reserved82 = 4_082, symlink = 4_083, unused84 = 4_084, readlink = 4_085, uselib = 4_086, swapon = 4_087, reboot = 4_088, readdir = 4_089, mmap = 4_090, munmap = 4_091, truncate = 4_092, ftruncate = 4_093, fchmod = 4_094, fchown = 4_095, getpriority = 4_096, setpriority = 4_097, profil = 4_098, statfs = 4_099, fstatfs = 4_100, ioperm = 4_101, socketcall = 4_102, syslog = 4_103, setitimer = 4_104, getitimer = 4_105, stat = 4_106, lstat = 4_107, fstat = 4_108, unused109 = 4_109, iopl = 4_110, vhangup = 4_111, idle = 4_112, vm86 = 4_113, wait4 = 4_114, swapoff = 4_115, sysinfo = 4_116, ipc = 4_117, fsync = 4_118, sigreturn = 4_119, clone = 4_120, setdomainname = 4_121, uname = 4_122, modify_ldt = 4_123, adjtimex = 4_124, mprotect = 4_125, sigprocmask = 4_126, create_module = 4_127, init_module = 4_128, delete_module = 4_129, get_kernel_syms = 4_130, quotactl = 4_131, getpgid = 4_132, fchdir = 4_133, bdflush = 4_134, sysfs = 4_135, personality = 4_136, afs_syscall = 4_137, setfsuid = 4_138, setfsgid = 4_139, _llseek = 4_140, getdents = 4_141, _newselect = 4_142, flock = 4_143, msync = 4_144, readv = 4_145, writev = 4_146, cacheflush = 4_147, cachectl = 4_148, sysmips = 4_149, unused150 = 4_150, getsid = 4_151, fdatasync = 4_152, _sysctl = 4_153, mlock = 4_154, munlock = 4_155, mlockall = 4_156, munlockall = 4_157, sched_setparam = 4_158, sched_getparam = 4_159, sched_setscheduler = 4_160, sched_getscheduler = 4_161, sched_yield = 4_162, sched_get_priority_max = 4_163, sched_get_priority_min = 4_164, sched_rr_get_interval = 4_165, nanosleep = 4_166, mremap = 4_167, accept = 4_168, bind = 4_169, connect = 4_170, getpeername = 4_171, getsockname = 4_172, getsockopt = 4_173, listen = 4_174, recv = 4_175, recvfrom = 4_176, recvmsg = 4_177, send = 4_178, sendmsg = 4_179, sendto = 4_180, setsockopt = 4_181, shutdown = 4_182, socket = 4_183, socketpair = 4_184, setresuid = 4_185, getresuid = 4_186, query_module = 4_187, poll = 4_188, nfsservctl = 4_189, setresgid = 4_190, getresgid = 4_191, prctl = 4_192, rt_sigreturn = 4_193, rt_sigaction = 4_194, rt_sigprocmask = 4_195, rt_sigpending = 4_196, rt_sigtimedwait = 4_197, rt_sigqueueinfo = 4_198, rt_sigsuspend = 4_199, pread64 = 4_200, pwrite64 = 4_201, chown = 4_202, getcwd = 4_203, capget = 4_204, capset = 4_205, sigaltstack = 4_206, sendfile = 4_207, getpmsg = 4_208, putpmsg = 4_209, mmap2 = 4_210, truncate64 = 4_211, ftruncate64 = 4_212, stat64 = 4_213, lstat64 = 4_214, fstat64 = 4_215, pivot_root = 4_216, mincore = 4_217, madvise = 4_218, getdents64 = 4_219, fcntl64 = 4_220, reserved221 = 4_221, gettid = 4_222, readahead = 4_223, setxattr = 4_224, lsetxattr = 4_225, fsetxattr = 4_226, getxattr = 4_227, lgetxattr = 4_228, fgetxattr = 4_229, listxattr = 4_230, llistxattr = 4_231, flistxattr = 4_232, removexattr = 4_233, lremovexattr = 4_234, fremovexattr = 4_235, tkill = 4_236, sendfile64 = 4_237, futex = 4_238, sched_setaffinity = 4_239, sched_getaffinity = 4_240, io_setup = 4_241, io_destroy = 4_242, io_getevents = 4_243, io_submit = 4_244, io_cancel = 4_245, exit_group = 4_246, lookup_dcookie = 4_247, epoll_create = 4_248, epoll_ctl = 4_249, epoll_wait = 4_250, remap_file_pages = 4_251, set_tid_address = 4_252, restart_syscall = 4_253, fadvise64 = 4_254, statfs64 = 4_255, fstatfs64 = 4_256, timer_create = 4_257, timer_settime = 4_258, timer_gettime = 4_259, timer_getoverrun = 4_260, timer_delete = 4_261, clock_settime = 4_262, clock_gettime = 4_263, clock_getres = 4_264, clock_nanosleep = 4_265, tgkill = 4_266, utimes = 4_267, mbind = 4_268, get_mempolicy = 4_269, set_mempolicy = 4_270, mq_open = 4_271, mq_unlink = 4_272, mq_timedsend = 4_273, mq_timedreceive = 4_274, mq_notify = 4_275, mq_getsetattr = 4_276, vserver = 4_277, waitid = 4_278, add_key = 4_280, request_key = 4_281, keyctl = 4_282, set_thread_area = 4_283, inotify_init = 4_284, inotify_add_watch = 4_285, inotify_rm_watch = 4_286, migrate_pages = 4_287, openat = 4_288, mkdirat = 4_289, mknodat = 4_290, fchownat = 4_291, futimesat = 4_292, fstatat64 = 4_293, unlinkat = 4_294, renameat = 4_295, linkat = 4_296, symlinkat = 4_297, readlinkat = 4_298, fchmodat = 4_299, faccessat = 4_300, pselect6 = 4_301, ppoll = 4_302, unshare = 4_303, splice = 4_304, sync_file_range = 4_305, tee = 4_306, vmsplice = 4_307, move_pages = 4_308, set_robust_list = 4_309, get_robust_list = 4_310, kexec_load = 4_311, getcpu = 4_312, epoll_pwait = 4_313, ioprio_set = 4_314, ioprio_get = 4_315, utimensat = 4_316, signalfd = 4_317, timerfd = 4_318, eventfd = 4_319, fallocate = 4_320, timerfd_create = 4_321, timerfd_gettime = 4_322, timerfd_settime = 4_323, signalfd4 = 4_324, eventfd2 = 4_325, epoll_create1 = 4_326, dup3 = 4_327, pipe2 = 4_328, inotify_init1 = 4_329, preadv = 4_330, pwritev = 4_331, rt_tgsigqueueinfo = 4_332, perf_event_open = 4_333, accept4 = 4_334, recvmmsg = 4_335, fanotify_init = 4_336, fanotify_mark = 4_337, prlimit64 = 4_338, name_to_handle_at = 4_339, open_by_handle_at = 4_340, clock_adjtime = 4_341, syncfs = 4_342, sendmmsg = 4_343, setns = 4_344, process_vm_readv = 4_345, process_vm_writev = 4_346, kcmp = 4_347, finit_module = 4_348, sched_setattr = 4_349, sched_getattr = 4_350, renameat2 = 4_351, seccomp = 4_352, getrandom = 4_353, memfd_create = 4_354, bpf = 4_355, execveat = 4_356, userfaultfd = 4_357, membarrier = 4_358, mlock2 = 4_359, copy_file_range = 4_360, preadv2 = 4_361, pwritev2 = 4_362, pkey_mprotect = 4_363, pkey_alloc = 4_364, pkey_free = 4_365, statx = 4_366, rseq = 4_367, io_pgetevents = 4_368, semget = 4_393, semctl = 4_394, shmget = 4_395, shmctl = 4_396, shmat = 4_397, shmdt = 4_398, msgget = 4_399, msgsnd = 4_400, msgrcv = 4_401, msgctl = 4_402, clock_gettime64 = 4_403, clock_settime64 = 4_404, clock_adjtime64 = 4_405, clock_getres_time64 = 4_406, clock_nanosleep_time64 = 4_407, timer_gettime64 = 4_408, timer_settime64 = 4_409, timerfd_gettime64 = 4_410, timerfd_settime64 = 4_411, utimensat_time64 = 4_412, pselect6_time64 = 4_413, ppoll_time64 = 4_414, io_pgetevents_time64 = 4_416, recvmmsg_time64 = 4_417, mq_timedsend_time64 = 4_418, mq_timedreceive_time64 = 4_419, semtimedop_time64 = 4_420, rt_sigtimedwait_time64 = 4_421, futex_time64 = 4_422, sched_rr_get_interval_time64 = 4_423, pidfd_send_signal = 4_424, io_uring_setup = 4_425, io_uring_enter = 4_426, io_uring_register = 4_427, open_tree = 4_428, move_mount = 4_429, fsopen = 4_430, fsconfig = 4_431, fsmount = 4_432, fspick = 4_433, pidfd_open = 4_434, clone3 = 4_435, close_range = 4_436, openat2 = 4_437, pidfd_getfd = 4_438, faccessat2 = 4_439, process_madvise = 4_440, epoll_pwait2 = 4_441, mount_setattr = 4_442, quotactl_fd = 4_443, landlock_create_ruleset = 4_444, landlock_add_rule = 4_445, landlock_restrict_self = 4_446, process_mrelease = 4_448, futex_waitv = 4_449, set_mempolicy_home_node = 4_450, cachestat = 4_451, fchmodat2 = 4_452, map_shadow_stack = 4_453, futex_wake = 4_454, futex_wait = 4_455, futex_requeue = 4_456, statmount = 4_457, listmount = 4_458, lsm_get_self_attr = 4_459, lsm_set_self_attr = 4_460, lsm_list_modules = 4_461, mseal = 4_462,
}
Expand description

Complete list of Linux syscalls.

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.
§

syscall = 4_000

See syscall(2) for more info on this syscall.

§

exit = 4_001

See exit(2) for more info on this syscall.

§

fork = 4_002

See fork(2) for more info on this syscall.

§

read = 4_003

See read(2) for more info on this syscall.

§

write = 4_004

See write(2) for more info on this syscall.

§

open = 4_005

See open(2) for more info on this syscall.

§

close = 4_006

See close(2) for more info on this syscall.

§

waitpid = 4_007

See waitpid(2) for more info on this syscall.

§

creat = 4_008

See creat(2) for more info on this syscall.

See link(2) for more info on this syscall.

See unlink(2) for more info on this syscall.

§

execve = 4_011

See execve(2) for more info on this syscall.

§

chdir = 4_012

See chdir(2) for more info on this syscall.

§

time = 4_013

See time(2) for more info on this syscall.

§

mknod = 4_014

See mknod(2) for more info on this syscall.

§

chmod = 4_015

See chmod(2) for more info on this syscall.

§

lchown = 4_016

See lchown(2) for more info on this syscall.

§

break_ = 4_017

See break(2) for more info on this syscall.

§

unused18 = 4_018

See unused18(2) for more info on this syscall.

§

lseek = 4_019

See lseek(2) for more info on this syscall.

§

getpid = 4_020

See getpid(2) for more info on this syscall.

§

mount = 4_021

See mount(2) for more info on this syscall.

§

umount = 4_022

See umount(2) for more info on this syscall.

§

setuid = 4_023

See setuid(2) for more info on this syscall.

§

getuid = 4_024

See getuid(2) for more info on this syscall.

§

stime = 4_025

See stime(2) for more info on this syscall.

§

ptrace = 4_026

See ptrace(2) for more info on this syscall.

§

alarm = 4_027

See alarm(2) for more info on this syscall.

§

unused28 = 4_028

See unused28(2) for more info on this syscall.

§

pause = 4_029

See pause(2) for more info on this syscall.

§

utime = 4_030

See utime(2) for more info on this syscall.

§

stty = 4_031

See stty(2) for more info on this syscall.

§

gtty = 4_032

See gtty(2) for more info on this syscall.

§

access = 4_033

See access(2) for more info on this syscall.

§

nice = 4_034

See nice(2) for more info on this syscall.

§

ftime = 4_035

See ftime(2) for more info on this syscall.

§

sync = 4_036

See sync(2) for more info on this syscall.

§

kill = 4_037

See kill(2) for more info on this syscall.

§

rename = 4_038

See rename(2) for more info on this syscall.

§

mkdir = 4_039

See mkdir(2) for more info on this syscall.

§

rmdir = 4_040

See rmdir(2) for more info on this syscall.

§

dup = 4_041

See dup(2) for more info on this syscall.

§

pipe = 4_042

See pipe(2) for more info on this syscall.

§

times = 4_043

See times(2) for more info on this syscall.

§

prof = 4_044

See prof(2) for more info on this syscall.

§

brk = 4_045

See brk(2) for more info on this syscall.

§

setgid = 4_046

See setgid(2) for more info on this syscall.

§

getgid = 4_047

See getgid(2) for more info on this syscall.

§

signal = 4_048

See signal(2) for more info on this syscall.

§

geteuid = 4_049

See geteuid(2) for more info on this syscall.

§

getegid = 4_050

See getegid(2) for more info on this syscall.

§

acct = 4_051

See acct(2) for more info on this syscall.

§

umount2 = 4_052

See umount2(2) for more info on this syscall.

§

lock = 4_053

See lock(2) for more info on this syscall.

§

ioctl = 4_054

See ioctl(2) for more info on this syscall.

§

fcntl = 4_055

See fcntl(2) for more info on this syscall.

§

mpx = 4_056

See mpx(2) for more info on this syscall.

§

setpgid = 4_057

See setpgid(2) for more info on this syscall.

§

ulimit = 4_058

See ulimit(2) for more info on this syscall.

§

unused59 = 4_059

See unused59(2) for more info on this syscall.

§

umask = 4_060

See umask(2) for more info on this syscall.

§

chroot = 4_061

See chroot(2) for more info on this syscall.

§

ustat = 4_062

See ustat(2) for more info on this syscall.

§

dup2 = 4_063

See dup2(2) for more info on this syscall.

§

getppid = 4_064

See getppid(2) for more info on this syscall.

§

getpgrp = 4_065

See getpgrp(2) for more info on this syscall.

§

setsid = 4_066

See setsid(2) for more info on this syscall.

§

sigaction = 4_067

See sigaction(2) for more info on this syscall.

§

sgetmask = 4_068

See sgetmask(2) for more info on this syscall.

§

ssetmask = 4_069

See ssetmask(2) for more info on this syscall.

§

setreuid = 4_070

See setreuid(2) for more info on this syscall.

§

setregid = 4_071

See setregid(2) for more info on this syscall.

§

sigsuspend = 4_072

See sigsuspend(2) for more info on this syscall.

§

sigpending = 4_073

See sigpending(2) for more info on this syscall.

§

sethostname = 4_074

See sethostname(2) for more info on this syscall.

§

setrlimit = 4_075

See setrlimit(2) for more info on this syscall.

§

getrlimit = 4_076

See getrlimit(2) for more info on this syscall.

§

getrusage = 4_077

See getrusage(2) for more info on this syscall.

§

gettimeofday = 4_078

See gettimeofday(2) for more info on this syscall.

§

settimeofday = 4_079

See settimeofday(2) for more info on this syscall.

§

getgroups = 4_080

See getgroups(2) for more info on this syscall.

§

setgroups = 4_081

See setgroups(2) for more info on this syscall.

§

reserved82 = 4_082

See reserved82(2) for more info on this syscall.

See symlink(2) for more info on this syscall.

§

unused84 = 4_084

See unused84(2) for more info on this syscall.

See readlink(2) for more info on this syscall.

§

uselib = 4_086

See uselib(2) for more info on this syscall.

§

swapon = 4_087

See swapon(2) for more info on this syscall.

§

reboot = 4_088

See reboot(2) for more info on this syscall.

§

readdir = 4_089

See readdir(2) for more info on this syscall.

§

mmap = 4_090

See mmap(2) for more info on this syscall.

§

munmap = 4_091

See munmap(2) for more info on this syscall.

§

truncate = 4_092

See truncate(2) for more info on this syscall.

§

ftruncate = 4_093

See ftruncate(2) for more info on this syscall.

§

fchmod = 4_094

See fchmod(2) for more info on this syscall.

§

fchown = 4_095

See fchown(2) for more info on this syscall.

§

getpriority = 4_096

See getpriority(2) for more info on this syscall.

§

setpriority = 4_097

See setpriority(2) for more info on this syscall.

§

profil = 4_098

See profil(2) for more info on this syscall.

§

statfs = 4_099

See statfs(2) for more info on this syscall.

§

fstatfs = 4_100

See fstatfs(2) for more info on this syscall.

§

ioperm = 4_101

See ioperm(2) for more info on this syscall.

§

socketcall = 4_102

See socketcall(2) for more info on this syscall.

§

syslog = 4_103

See syslog(2) for more info on this syscall.

§

setitimer = 4_104

See setitimer(2) for more info on this syscall.

§

getitimer = 4_105

See getitimer(2) for more info on this syscall.

§

stat = 4_106

See stat(2) for more info on this syscall.

§

lstat = 4_107

See lstat(2) for more info on this syscall.

§

fstat = 4_108

See fstat(2) for more info on this syscall.

§

unused109 = 4_109

See unused109(2) for more info on this syscall.

§

iopl = 4_110

See iopl(2) for more info on this syscall.

§

vhangup = 4_111

See vhangup(2) for more info on this syscall.

§

idle = 4_112

See idle(2) for more info on this syscall.

§

vm86 = 4_113

See vm86(2) for more info on this syscall.

§

wait4 = 4_114

See wait4(2) for more info on this syscall.

§

swapoff = 4_115

See swapoff(2) for more info on this syscall.

§

sysinfo = 4_116

See sysinfo(2) for more info on this syscall.

§

ipc = 4_117

See ipc(2) for more info on this syscall.

§

fsync = 4_118

See fsync(2) for more info on this syscall.

§

sigreturn = 4_119

See sigreturn(2) for more info on this syscall.

§

clone = 4_120

See clone(2) for more info on this syscall.

§

setdomainname = 4_121

See setdomainname(2) for more info on this syscall.

§

uname = 4_122

See uname(2) for more info on this syscall.

§

modify_ldt = 4_123

See modify_ldt(2) for more info on this syscall.

§

adjtimex = 4_124

See adjtimex(2) for more info on this syscall.

§

mprotect = 4_125

See mprotect(2) for more info on this syscall.

§

sigprocmask = 4_126

See sigprocmask(2) for more info on this syscall.

§

create_module = 4_127

See create_module(2) for more info on this syscall.

§

init_module = 4_128

See init_module(2) for more info on this syscall.

§

delete_module = 4_129

See delete_module(2) for more info on this syscall.

§

get_kernel_syms = 4_130

See get_kernel_syms(2) for more info on this syscall.

§

quotactl = 4_131

See quotactl(2) for more info on this syscall.

§

getpgid = 4_132

See getpgid(2) for more info on this syscall.

§

fchdir = 4_133

See fchdir(2) for more info on this syscall.

§

bdflush = 4_134

See bdflush(2) for more info on this syscall.

§

sysfs = 4_135

See sysfs(2) for more info on this syscall.

§

personality = 4_136

See personality(2) for more info on this syscall.

§

afs_syscall = 4_137

See afs_syscall(2) for more info on this syscall.

§

setfsuid = 4_138

See setfsuid(2) for more info on this syscall.

§

setfsgid = 4_139

See setfsgid(2) for more info on this syscall.

§

_llseek = 4_140

See _llseek(2) for more info on this syscall.

§

getdents = 4_141

See getdents(2) for more info on this syscall.

§

_newselect = 4_142

See _newselect(2) for more info on this syscall.

§

flock = 4_143

See flock(2) for more info on this syscall.

§

msync = 4_144

See msync(2) for more info on this syscall.

§

readv = 4_145

See readv(2) for more info on this syscall.

§

writev = 4_146

See writev(2) for more info on this syscall.

§

cacheflush = 4_147

See cacheflush(2) for more info on this syscall.

§

cachectl = 4_148

See cachectl(2) for more info on this syscall.

§

sysmips = 4_149

See sysmips(2) for more info on this syscall.

§

unused150 = 4_150

See unused150(2) for more info on this syscall.

§

getsid = 4_151

See getsid(2) for more info on this syscall.

§

fdatasync = 4_152

See fdatasync(2) for more info on this syscall.

§

_sysctl = 4_153

See _sysctl(2) for more info on this syscall.

§

mlock = 4_154

See mlock(2) for more info on this syscall.

§

munlock = 4_155

See munlock(2) for more info on this syscall.

§

mlockall = 4_156

See mlockall(2) for more info on this syscall.

§

munlockall = 4_157

See munlockall(2) for more info on this syscall.

§

sched_setparam = 4_158

See sched_setparam(2) for more info on this syscall.

§

sched_getparam = 4_159

See sched_getparam(2) for more info on this syscall.

§

sched_setscheduler = 4_160

See sched_setscheduler(2) for more info on this syscall.

§

sched_getscheduler = 4_161

See sched_getscheduler(2) for more info on this syscall.

§

sched_yield = 4_162

See sched_yield(2) for more info on this syscall.

§

sched_get_priority_max = 4_163

See sched_get_priority_max(2) for more info on this syscall.

§

sched_get_priority_min = 4_164

See sched_get_priority_min(2) for more info on this syscall.

§

sched_rr_get_interval = 4_165

See sched_rr_get_interval(2) for more info on this syscall.

§

nanosleep = 4_166

See nanosleep(2) for more info on this syscall.

§

mremap = 4_167

See mremap(2) for more info on this syscall.

§

accept = 4_168

See accept(2) for more info on this syscall.

§

bind = 4_169

See bind(2) for more info on this syscall.

§

connect = 4_170

See connect(2) for more info on this syscall.

§

getpeername = 4_171

See getpeername(2) for more info on this syscall.

§

getsockname = 4_172

See getsockname(2) for more info on this syscall.

§

getsockopt = 4_173

See getsockopt(2) for more info on this syscall.

§

listen = 4_174

See listen(2) for more info on this syscall.

§

recv = 4_175

See recv(2) for more info on this syscall.

§

recvfrom = 4_176

See recvfrom(2) for more info on this syscall.

§

recvmsg = 4_177

See recvmsg(2) for more info on this syscall.

§

send = 4_178

See send(2) for more info on this syscall.

§

sendmsg = 4_179

See sendmsg(2) for more info on this syscall.

§

sendto = 4_180

See sendto(2) for more info on this syscall.

§

setsockopt = 4_181

See setsockopt(2) for more info on this syscall.

§

shutdown = 4_182

See shutdown(2) for more info on this syscall.

§

socket = 4_183

See socket(2) for more info on this syscall.

§

socketpair = 4_184

See socketpair(2) for more info on this syscall.

§

setresuid = 4_185

See setresuid(2) for more info on this syscall.

§

getresuid = 4_186

See getresuid(2) for more info on this syscall.

§

query_module = 4_187

See query_module(2) for more info on this syscall.

§

poll = 4_188

See poll(2) for more info on this syscall.

§

nfsservctl = 4_189

See nfsservctl(2) for more info on this syscall.

§

setresgid = 4_190

See setresgid(2) for more info on this syscall.

§

getresgid = 4_191

See getresgid(2) for more info on this syscall.

§

prctl = 4_192

See prctl(2) for more info on this syscall.

§

rt_sigreturn = 4_193

See rt_sigreturn(2) for more info on this syscall.

§

rt_sigaction = 4_194

See rt_sigaction(2) for more info on this syscall.

§

rt_sigprocmask = 4_195

See rt_sigprocmask(2) for more info on this syscall.

§

rt_sigpending = 4_196

See rt_sigpending(2) for more info on this syscall.

§

rt_sigtimedwait = 4_197

See rt_sigtimedwait(2) for more info on this syscall.

§

rt_sigqueueinfo = 4_198

See rt_sigqueueinfo(2) for more info on this syscall.

§

rt_sigsuspend = 4_199

See rt_sigsuspend(2) for more info on this syscall.

§

pread64 = 4_200

See pread64(2) for more info on this syscall.

§

pwrite64 = 4_201

See pwrite64(2) for more info on this syscall.

§

chown = 4_202

See chown(2) for more info on this syscall.

§

getcwd = 4_203

See getcwd(2) for more info on this syscall.

§

capget = 4_204

See capget(2) for more info on this syscall.

§

capset = 4_205

See capset(2) for more info on this syscall.

§

sigaltstack = 4_206

See sigaltstack(2) for more info on this syscall.

§

sendfile = 4_207

See sendfile(2) for more info on this syscall.

§

getpmsg = 4_208

See getpmsg(2) for more info on this syscall.

§

putpmsg = 4_209

See putpmsg(2) for more info on this syscall.

§

mmap2 = 4_210

See mmap2(2) for more info on this syscall.

§

truncate64 = 4_211

See truncate64(2) for more info on this syscall.

§

ftruncate64 = 4_212

See ftruncate64(2) for more info on this syscall.

§

stat64 = 4_213

See stat64(2) for more info on this syscall.

§

lstat64 = 4_214

See lstat64(2) for more info on this syscall.

§

fstat64 = 4_215

See fstat64(2) for more info on this syscall.

§

pivot_root = 4_216

See pivot_root(2) for more info on this syscall.

§

mincore = 4_217

See mincore(2) for more info on this syscall.

§

madvise = 4_218

See madvise(2) for more info on this syscall.

§

getdents64 = 4_219

See getdents64(2) for more info on this syscall.

§

fcntl64 = 4_220

See fcntl64(2) for more info on this syscall.

§

reserved221 = 4_221

See reserved221(2) for more info on this syscall.

§

gettid = 4_222

See gettid(2) for more info on this syscall.

§

readahead = 4_223

See readahead(2) for more info on this syscall.

§

setxattr = 4_224

See setxattr(2) for more info on this syscall.

§

lsetxattr = 4_225

See lsetxattr(2) for more info on this syscall.

§

fsetxattr = 4_226

See fsetxattr(2) for more info on this syscall.

§

getxattr = 4_227

See getxattr(2) for more info on this syscall.

§

lgetxattr = 4_228

See lgetxattr(2) for more info on this syscall.

§

fgetxattr = 4_229

See fgetxattr(2) for more info on this syscall.

§

listxattr = 4_230

See listxattr(2) for more info on this syscall.

§

llistxattr = 4_231

See llistxattr(2) for more info on this syscall.

§

flistxattr = 4_232

See flistxattr(2) for more info on this syscall.

§

removexattr = 4_233

See removexattr(2) for more info on this syscall.

§

lremovexattr = 4_234

See lremovexattr(2) for more info on this syscall.

§

fremovexattr = 4_235

See fremovexattr(2) for more info on this syscall.

§

tkill = 4_236

See tkill(2) for more info on this syscall.

§

sendfile64 = 4_237

See sendfile64(2) for more info on this syscall.

§

futex = 4_238

See futex(2) for more info on this syscall.

§

sched_setaffinity = 4_239

See sched_setaffinity(2) for more info on this syscall.

§

sched_getaffinity = 4_240

See sched_getaffinity(2) for more info on this syscall.

§

io_setup = 4_241

See io_setup(2) for more info on this syscall.

§

io_destroy = 4_242

See io_destroy(2) for more info on this syscall.

§

io_getevents = 4_243

See io_getevents(2) for more info on this syscall.

§

io_submit = 4_244

See io_submit(2) for more info on this syscall.

§

io_cancel = 4_245

See io_cancel(2) for more info on this syscall.

§

exit_group = 4_246

See exit_group(2) for more info on this syscall.

§

lookup_dcookie = 4_247

See lookup_dcookie(2) for more info on this syscall.

§

epoll_create = 4_248

See epoll_create(2) for more info on this syscall.

§

epoll_ctl = 4_249

See epoll_ctl(2) for more info on this syscall.

§

epoll_wait = 4_250

See epoll_wait(2) for more info on this syscall.

§

remap_file_pages = 4_251

See remap_file_pages(2) for more info on this syscall.

§

set_tid_address = 4_252

See set_tid_address(2) for more info on this syscall.

§

restart_syscall = 4_253

See restart_syscall(2) for more info on this syscall.

§

fadvise64 = 4_254

See fadvise64(2) for more info on this syscall.

§

statfs64 = 4_255

See statfs64(2) for more info on this syscall.

§

fstatfs64 = 4_256

See fstatfs64(2) for more info on this syscall.

§

timer_create = 4_257

See timer_create(2) for more info on this syscall.

§

timer_settime = 4_258

See timer_settime(2) for more info on this syscall.

§

timer_gettime = 4_259

See timer_gettime(2) for more info on this syscall.

§

timer_getoverrun = 4_260

See timer_getoverrun(2) for more info on this syscall.

§

timer_delete = 4_261

See timer_delete(2) for more info on this syscall.

§

clock_settime = 4_262

See clock_settime(2) for more info on this syscall.

§

clock_gettime = 4_263

See clock_gettime(2) for more info on this syscall.

§

clock_getres = 4_264

See clock_getres(2) for more info on this syscall.

§

clock_nanosleep = 4_265

See clock_nanosleep(2) for more info on this syscall.

§

tgkill = 4_266

See tgkill(2) for more info on this syscall.

§

utimes = 4_267

See utimes(2) for more info on this syscall.

§

mbind = 4_268

See mbind(2) for more info on this syscall.

§

get_mempolicy = 4_269

See get_mempolicy(2) for more info on this syscall.

§

set_mempolicy = 4_270

See set_mempolicy(2) for more info on this syscall.

§

mq_open = 4_271

See mq_open(2) for more info on this syscall.

See mq_unlink(2) for more info on this syscall.

§

mq_timedsend = 4_273

See mq_timedsend(2) for more info on this syscall.

§

mq_timedreceive = 4_274

See mq_timedreceive(2) for more info on this syscall.

§

mq_notify = 4_275

See mq_notify(2) for more info on this syscall.

§

mq_getsetattr = 4_276

See mq_getsetattr(2) for more info on this syscall.

§

vserver = 4_277

See vserver(2) for more info on this syscall.

§

waitid = 4_278

See waitid(2) for more info on this syscall.

§

add_key = 4_280

See add_key(2) for more info on this syscall.

§

request_key = 4_281

See request_key(2) for more info on this syscall.

§

keyctl = 4_282

See keyctl(2) for more info on this syscall.

§

set_thread_area = 4_283

See set_thread_area(2) for more info on this syscall.

§

inotify_init = 4_284

See inotify_init(2) for more info on this syscall.

§

inotify_add_watch = 4_285

See inotify_add_watch(2) for more info on this syscall.

§

inotify_rm_watch = 4_286

See inotify_rm_watch(2) for more info on this syscall.

§

migrate_pages = 4_287

See migrate_pages(2) for more info on this syscall.

§

openat = 4_288

See openat(2) for more info on this syscall.

§

mkdirat = 4_289

See mkdirat(2) for more info on this syscall.

§

mknodat = 4_290

See mknodat(2) for more info on this syscall.

§

fchownat = 4_291

See fchownat(2) for more info on this syscall.

§

futimesat = 4_292

See futimesat(2) for more info on this syscall.

§

fstatat64 = 4_293

See fstatat64(2) for more info on this syscall.

§

unlinkat = 4_294

See unlinkat(2) for more info on this syscall.

§

renameat = 4_295

See renameat(2) for more info on this syscall.

§

linkat = 4_296

See linkat(2) for more info on this syscall.

§

symlinkat = 4_297

See symlinkat(2) for more info on this syscall.

§

readlinkat = 4_298

See readlinkat(2) for more info on this syscall.

§

fchmodat = 4_299

See fchmodat(2) for more info on this syscall.

§

faccessat = 4_300

See faccessat(2) for more info on this syscall.

§

pselect6 = 4_301

See pselect6(2) for more info on this syscall.

§

ppoll = 4_302

See ppoll(2) for more info on this syscall.

§

unshare = 4_303

See unshare(2) for more info on this syscall.

§

splice = 4_304

See splice(2) for more info on this syscall.

§

sync_file_range = 4_305

See sync_file_range(2) for more info on this syscall.

§

tee = 4_306

See tee(2) for more info on this syscall.

§

vmsplice = 4_307

See vmsplice(2) for more info on this syscall.

§

move_pages = 4_308

See move_pages(2) for more info on this syscall.

§

set_robust_list = 4_309

See set_robust_list(2) for more info on this syscall.

§

get_robust_list = 4_310

See get_robust_list(2) for more info on this syscall.

§

kexec_load = 4_311

See kexec_load(2) for more info on this syscall.

§

getcpu = 4_312

See getcpu(2) for more info on this syscall.

§

epoll_pwait = 4_313

See epoll_pwait(2) for more info on this syscall.

§

ioprio_set = 4_314

See ioprio_set(2) for more info on this syscall.

§

ioprio_get = 4_315

See ioprio_get(2) for more info on this syscall.

§

utimensat = 4_316

See utimensat(2) for more info on this syscall.

§

signalfd = 4_317

See signalfd(2) for more info on this syscall.

§

timerfd = 4_318

See timerfd(2) for more info on this syscall.

§

eventfd = 4_319

See eventfd(2) for more info on this syscall.

§

fallocate = 4_320

See fallocate(2) for more info on this syscall.

§

timerfd_create = 4_321

See timerfd_create(2) for more info on this syscall.

§

timerfd_gettime = 4_322

See timerfd_gettime(2) for more info on this syscall.

§

timerfd_settime = 4_323

See timerfd_settime(2) for more info on this syscall.

§

signalfd4 = 4_324

See signalfd4(2) for more info on this syscall.

§

eventfd2 = 4_325

See eventfd2(2) for more info on this syscall.

§

epoll_create1 = 4_326

See epoll_create1(2) for more info on this syscall.

§

dup3 = 4_327

See dup3(2) for more info on this syscall.

§

pipe2 = 4_328

See pipe2(2) for more info on this syscall.

§

inotify_init1 = 4_329

See inotify_init1(2) for more info on this syscall.

§

preadv = 4_330

See preadv(2) for more info on this syscall.

§

pwritev = 4_331

See pwritev(2) for more info on this syscall.

§

rt_tgsigqueueinfo = 4_332

See rt_tgsigqueueinfo(2) for more info on this syscall.

§

perf_event_open = 4_333

See perf_event_open(2) for more info on this syscall.

§

accept4 = 4_334

See accept4(2) for more info on this syscall.

§

recvmmsg = 4_335

See recvmmsg(2) for more info on this syscall.

§

fanotify_init = 4_336

See fanotify_init(2) for more info on this syscall.

§

fanotify_mark = 4_337

See fanotify_mark(2) for more info on this syscall.

§

prlimit64 = 4_338

See prlimit64(2) for more info on this syscall.

§

name_to_handle_at = 4_339

See name_to_handle_at(2) for more info on this syscall.

§

open_by_handle_at = 4_340

See open_by_handle_at(2) for more info on this syscall.

§

clock_adjtime = 4_341

See clock_adjtime(2) for more info on this syscall.

§

syncfs = 4_342

See syncfs(2) for more info on this syscall.

§

sendmmsg = 4_343

See sendmmsg(2) for more info on this syscall.

§

setns = 4_344

See setns(2) for more info on this syscall.

§

process_vm_readv = 4_345

See process_vm_readv(2) for more info on this syscall.

§

process_vm_writev = 4_346

See process_vm_writev(2) for more info on this syscall.

§

kcmp = 4_347

See kcmp(2) for more info on this syscall.

§

finit_module = 4_348

See finit_module(2) for more info on this syscall.

§

sched_setattr = 4_349

See sched_setattr(2) for more info on this syscall.

§

sched_getattr = 4_350

See sched_getattr(2) for more info on this syscall.

§

renameat2 = 4_351

See renameat2(2) for more info on this syscall.

§

seccomp = 4_352

See seccomp(2) for more info on this syscall.

§

getrandom = 4_353

See getrandom(2) for more info on this syscall.

§

memfd_create = 4_354

See memfd_create(2) for more info on this syscall.

§

bpf = 4_355

See bpf(2) for more info on this syscall.

§

execveat = 4_356

See execveat(2) for more info on this syscall.

§

userfaultfd = 4_357

See userfaultfd(2) for more info on this syscall.

§

membarrier = 4_358

See membarrier(2) for more info on this syscall.

§

mlock2 = 4_359

See mlock2(2) for more info on this syscall.

§

copy_file_range = 4_360

See copy_file_range(2) for more info on this syscall.

§

preadv2 = 4_361

See preadv2(2) for more info on this syscall.

§

pwritev2 = 4_362

See pwritev2(2) for more info on this syscall.

§

pkey_mprotect = 4_363

See pkey_mprotect(2) for more info on this syscall.

§

pkey_alloc = 4_364

See pkey_alloc(2) for more info on this syscall.

§

pkey_free = 4_365

See pkey_free(2) for more info on this syscall.

§

statx = 4_366

See statx(2) for more info on this syscall.

§

rseq = 4_367

See rseq(2) for more info on this syscall.

§

io_pgetevents = 4_368

See io_pgetevents(2) for more info on this syscall.

§

semget = 4_393

See semget(2) for more info on this syscall.

§

semctl = 4_394

See semctl(2) for more info on this syscall.

§

shmget = 4_395

See shmget(2) for more info on this syscall.

§

shmctl = 4_396

See shmctl(2) for more info on this syscall.

§

shmat = 4_397

See shmat(2) for more info on this syscall.

§

shmdt = 4_398

See shmdt(2) for more info on this syscall.

§

msgget = 4_399

See msgget(2) for more info on this syscall.

§

msgsnd = 4_400

See msgsnd(2) for more info on this syscall.

§

msgrcv = 4_401

See msgrcv(2) for more info on this syscall.

§

msgctl = 4_402

See msgctl(2) for more info on this syscall.

§

clock_gettime64 = 4_403

See clock_gettime64(2) for more info on this syscall.

§

clock_settime64 = 4_404

See clock_settime64(2) for more info on this syscall.

§

clock_adjtime64 = 4_405

See clock_adjtime64(2) for more info on this syscall.

§

clock_getres_time64 = 4_406

See clock_getres_time64(2) for more info on this syscall.

§

clock_nanosleep_time64 = 4_407

See clock_nanosleep_time64(2) for more info on this syscall.

§

timer_gettime64 = 4_408

See timer_gettime64(2) for more info on this syscall.

§

timer_settime64 = 4_409

See timer_settime64(2) for more info on this syscall.

§

timerfd_gettime64 = 4_410

See timerfd_gettime64(2) for more info on this syscall.

§

timerfd_settime64 = 4_411

See timerfd_settime64(2) for more info on this syscall.

§

utimensat_time64 = 4_412

See utimensat_time64(2) for more info on this syscall.

§

pselect6_time64 = 4_413

See pselect6_time64(2) for more info on this syscall.

§

ppoll_time64 = 4_414

See ppoll_time64(2) for more info on this syscall.

§

io_pgetevents_time64 = 4_416

See io_pgetevents_time64(2) for more info on this syscall.

§

recvmmsg_time64 = 4_417

See recvmmsg_time64(2) for more info on this syscall.

§

mq_timedsend_time64 = 4_418

See mq_timedsend_time64(2) for more info on this syscall.

§

mq_timedreceive_time64 = 4_419

See mq_timedreceive_time64(2) for more info on this syscall.

§

semtimedop_time64 = 4_420

See semtimedop_time64(2) for more info on this syscall.

§

rt_sigtimedwait_time64 = 4_421

See rt_sigtimedwait_time64(2) for more info on this syscall.

§

futex_time64 = 4_422

See futex_time64(2) for more info on this syscall.

§

sched_rr_get_interval_time64 = 4_423

See sched_rr_get_interval_time64(2) for more info on this syscall.

§

pidfd_send_signal = 4_424

See pidfd_send_signal(2) for more info on this syscall.

§

io_uring_setup = 4_425

See io_uring_setup(2) for more info on this syscall.

§

io_uring_enter = 4_426

See io_uring_enter(2) for more info on this syscall.

§

io_uring_register = 4_427

See io_uring_register(2) for more info on this syscall.

§

open_tree = 4_428

See open_tree(2) for more info on this syscall.

§

move_mount = 4_429

See move_mount(2) for more info on this syscall.

§

fsopen = 4_430

See fsopen(2) for more info on this syscall.

§

fsconfig = 4_431

See fsconfig(2) for more info on this syscall.

§

fsmount = 4_432

See fsmount(2) for more info on this syscall.

§

fspick = 4_433

See fspick(2) for more info on this syscall.

§

pidfd_open = 4_434

See pidfd_open(2) for more info on this syscall.

§

clone3 = 4_435

See clone3(2) for more info on this syscall.

§

close_range = 4_436

See close_range(2) for more info on this syscall.

§

openat2 = 4_437

See openat2(2) for more info on this syscall.

§

pidfd_getfd = 4_438

See pidfd_getfd(2) for more info on this syscall.

§

faccessat2 = 4_439

See faccessat2(2) for more info on this syscall.

§

process_madvise = 4_440

See process_madvise(2) for more info on this syscall.

§

epoll_pwait2 = 4_441

See epoll_pwait2(2) for more info on this syscall.

§

mount_setattr = 4_442

See mount_setattr(2) for more info on this syscall.

§

quotactl_fd = 4_443

See quotactl_fd(2) for more info on this syscall.

§

landlock_create_ruleset = 4_444

See landlock_create_ruleset(2) for more info on this syscall.

§

landlock_add_rule = 4_445

See landlock_add_rule(2) for more info on this syscall.

§

landlock_restrict_self = 4_446

See landlock_restrict_self(2) for more info on this syscall.

§

process_mrelease = 4_448

See process_mrelease(2) for more info on this syscall.

§

futex_waitv = 4_449

See futex_waitv(2) for more info on this syscall.

§

set_mempolicy_home_node = 4_450

See set_mempolicy_home_node(2) for more info on this syscall.

§

cachestat = 4_451

See cachestat(2) for more info on this syscall.

§

fchmodat2 = 4_452

See fchmodat2(2) for more info on this syscall.

§

map_shadow_stack = 4_453

See map_shadow_stack(2) for more info on this syscall.

§

futex_wake = 4_454

See futex_wake(2) for more info on this syscall.

§

futex_wait = 4_455

See futex_wait(2) for more info on this syscall.

§

futex_requeue = 4_456

See futex_requeue(2) for more info on this syscall.

§

statmount = 4_457

See statmount(2) for more info on this syscall.

§

listmount = 4_458

See listmount(2) for more info on this syscall.

§

lsm_get_self_attr = 4_459

See lsm_get_self_attr(2) for more info on this syscall.

§

lsm_set_self_attr = 4_460

See lsm_set_self_attr(2) for more info on this syscall.

§

lsm_list_modules = 4_461

See lsm_list_modules(2) for more info on this syscall.

§

mseal = 4_462

See mseal(2) for more info on this syscall.

Implementations§

Source§

impl Sysno

Source

pub const fn new(id: usize) -> Option<Self>

Constructs a new syscall from the given ID. If the ID does not represent a valid syscall, returns None.

Source

pub const fn name(&self) -> &'static str

Returns the name of the syscall.

Source

pub const fn next(&self) -> Option<Self>

Returns the next syscall in the table. Returns None if this is the last syscall.

Source

pub const fn first() -> Self

Returns the first syscall in the table.

Source

pub const fn last() -> Self

Returns the last syscall in the table.

Source

pub const fn id(&self) -> i32

Returns the syscall number.

Source

pub const fn count() -> usize

Returns the total number of valid syscalls.

Source

pub const fn table_size() -> usize

Returns the length of the syscall table, including any gaps. This is not the same thing as the total number of syscalls.

Source

pub fn iter() -> impl Iterator<Item = Self>

Returns an iterator that iterates over all possible syscalls.

Trait Implementations§

Source§

impl Clone for Sysno

Source§

fn clone(&self) -> Sysno

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Sysno

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Sysno

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Sysno

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<i32> for Sysno

Source§

fn from(id: i32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Sysno

Source§

fn from(id: u32) -> Self

Converts to this type from the input type.
Source§

impl FromStr for Sysno

Source§

type Err = ()

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Sysno

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Sysno

Source§

fn cmp(&self, other: &Sysno) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Sysno

Source§

fn eq(&self, other: &Sysno) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Sysno

Source§

fn partial_cmp(&self, other: &Sysno) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for Sysno

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for Sysno

Source§

impl Eq for Sysno

Source§

impl StructuralPartialEq for Sysno

Auto Trait Implementations§

§

impl Freeze for Sysno

§

impl RefUnwindSafe for Sysno

§

impl Send for Sysno

§

impl Sync for Sysno

§

impl Unpin for Sysno

§

impl UnwindSafe for Sysno

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,