#[non_exhaustive]
#[repr(usize)]
pub enum Sysno {
Show 362 variants read, write, open, close, stat, fstat, lstat, poll, lseek, mmap, mprotect, munmap, brk, rt_sigaction, rt_sigprocmask, rt_sigreturn, ioctl, pread64, pwrite64, readv, writev, access, pipe, select, sched_yield, mremap, msync, mincore, madvise, shmget, shmat, shmctl, dup, dup2, pause, nanosleep, getitimer, alarm, setitimer, getpid, sendfile, socket, connect, accept, sendto, recvfrom, sendmsg, recvmsg, shutdown, bind, listen, getsockname, getpeername, socketpair, setsockopt, getsockopt, clone, fork, vfork, execve, exit, wait4, kill, uname, semget, semop, semctl, shmdt, msgget, msgsnd, msgrcv, msgctl, fcntl, flock, fsync, fdatasync, truncate, ftruncate, getdents, getcwd, chdir, fchdir, rename, mkdir, rmdir, creat, link, unlink, symlink, readlink, chmod, fchmod, chown, fchown, lchown, umask, gettimeofday, getrlimit, getrusage, sysinfo, times, ptrace, getuid, syslog, getgid, setuid, setgid, geteuid, getegid, setpgid, getppid, getpgrp, setsid, setreuid, setregid, getgroups, setgroups, setresuid, getresuid, setresgid, getresgid, getpgid, setfsuid, setfsgid, getsid, capget, capset, rt_sigpending, rt_sigtimedwait, rt_sigqueueinfo, rt_sigsuspend, sigaltstack, utime, mknod, uselib, personality, ustat, statfs, fstatfs, sysfs, getpriority, setpriority, sched_setparam, sched_getparam, sched_setscheduler, sched_getscheduler, sched_get_priority_max, sched_get_priority_min, sched_rr_get_interval, mlock, munlock, mlockall, munlockall, vhangup, modify_ldt, pivot_root, _sysctl, prctl, arch_prctl, adjtimex, setrlimit, chroot, sync, acct, settimeofday, mount, umount2, swapon, swapoff, reboot, sethostname, setdomainname, iopl, ioperm, create_module, init_module, delete_module, get_kernel_syms, query_module, quotactl, nfsservctl, getpmsg, putpmsg, afs_syscall, tuxcall, security, gettid, readahead, setxattr, lsetxattr, fsetxattr, getxattr, lgetxattr, fgetxattr, listxattr, llistxattr, flistxattr, removexattr, lremovexattr, fremovexattr, tkill, time, futex, sched_setaffinity, sched_getaffinity, set_thread_area, io_setup, io_destroy, io_getevents, io_submit, io_cancel, get_thread_area, lookup_dcookie, epoll_create, epoll_ctl_old, epoll_wait_old, remap_file_pages, getdents64, set_tid_address, restart_syscall, semtimedop, fadvise64, timer_create, timer_settime, timer_gettime, timer_getoverrun, timer_delete, clock_settime, clock_gettime, clock_getres, clock_nanosleep, exit_group, epoll_wait, epoll_ctl, tgkill, utimes, vserver, mbind, set_mempolicy, get_mempolicy, mq_open, mq_unlink, mq_timedsend, mq_timedreceive, mq_notify, mq_getsetattr, kexec_load, waitid, add_key, request_key, keyctl, ioprio_set, ioprio_get, inotify_init, inotify_add_watch, inotify_rm_watch, migrate_pages, openat, mkdirat, mknodat, fchownat, futimesat, newfstatat, unlinkat, renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat, pselect6, ppoll, unshare, set_robust_list, get_robust_list, splice, tee, sync_file_range, vmsplice, move_pages, utimensat, epoll_pwait, signalfd, timerfd_create, eventfd, fallocate, timerfd_settime, timerfd_gettime, accept4, signalfd4, eventfd2, epoll_create1, dup3, pipe2, inotify_init1, preadv, pwritev, rt_tgsigqueueinfo, perf_event_open, recvmmsg, fanotify_init, fanotify_mark, prlimit64, name_to_handle_at, open_by_handle_at, clock_adjtime, syncfs, sendmmsg, setns, getcpu, process_vm_readv, process_vm_writev, kcmp, finit_module, sched_setattr, sched_getattr, renameat2, seccomp, getrandom, memfd_create, kexec_file_load, bpf, execveat, userfaultfd, membarrier, mlock2, copy_file_range, preadv2, pwritev2, pkey_mprotect, pkey_alloc, pkey_free, statx, io_pgetevents, rseq, pidfd_send_signal, io_uring_setup, io_uring_enter, io_uring_register, open_tree, move_mount, fsopen, fsconfig, fsmount, fspick, pidfd_open, clone3, close_range, openat2, pidfd_getfd, faccessat2, process_madvise, epoll_pwait2, mount_setattr, quotactl_fd, landlock_create_ruleset, landlock_add_rule, landlock_restrict_self, memfd_secret, process_mrelease, futex_waitv, set_mempolicy_home_node,
}
Expand description

List of system call numbers.

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

read

See doc at read(2).

§

write

See doc at write(2).

§

open

See doc at open(2).

§

close

See doc at close(2).

§

stat

See doc at stat(2).

§

fstat

See doc at fstat(2).

§

lstat

See doc at lstat(2).

§

poll

See doc at poll(2).

§

lseek

See doc at lseek(2).

§

mmap

See doc at mmap(2).

§

mprotect

See doc at mprotect(2).

§

munmap

See doc at munmap(2).

§

brk

See doc at brk(2).

§

rt_sigaction

See doc at rt_sigaction(2).

§

rt_sigprocmask

See doc at rt_sigprocmask(2).

§

rt_sigreturn

See doc at rt_sigreturn(2).

§

ioctl

See doc at ioctl(2).

§

pread64

See doc at pread64(2).

§

pwrite64

See doc at pwrite64(2).

§

readv

See doc at readv(2).

§

writev

See doc at writev(2).

§

access

See doc at access(2).

§

pipe

See doc at pipe(2).

§

select

See doc at select(2).

§

sched_yield

See doc at sched_yield(2).

§

mremap

See doc at mremap(2).

§

msync

See doc at msync(2).

§

mincore

See doc at mincore(2).

§

madvise

See doc at madvise(2).

§

shmget

See doc at shmget(2).

§

shmat

See doc at shmat(2).

§

shmctl

See doc at shmctl(2).

§

dup

See doc at dup(2).

§

dup2

See doc at dup2(2).

§

pause

See doc at pause(2).

§

nanosleep

See doc at nanosleep(2).

§

getitimer

See doc at getitimer(2).

§

alarm

See doc at alarm(2).

§

setitimer

See doc at setitimer(2).

§

getpid

See doc at getpid(2).

§

sendfile

See doc at sendfile(2).

§

socket

See doc at socket(2).

§

connect

See doc at connect(2).

§

accept

See doc at accept(2).

§

sendto

See doc at sendto(2).

§

recvfrom

See doc at recvfrom(2).

§

sendmsg

See doc at sendmsg(2).

§

recvmsg

See doc at recvmsg(2).

§

shutdown

See doc at shutdown(2).

§

bind

See doc at bind(2).

§

listen

See doc at listen(2).

§

getsockname

See doc at getsockname(2).

§

getpeername

See doc at getpeername(2).

§

socketpair

See doc at socketpair(2).

§

setsockopt

See doc at setsockopt(2).

§

getsockopt

See doc at getsockopt(2).

§

clone

See doc at clone(2).

§

fork

See doc at fork(2).

§

vfork

See doc at vfork(2).

§

execve

See doc at execve(2).

§

exit

See doc at exit(2).

§

wait4

See doc at wait4(2).

§

kill

See doc at kill(2).

§

uname

See doc at uname(2).

§

semget

See doc at semget(2).

§

semop

See doc at semop(2).

§

semctl

See doc at semctl(2).

§

shmdt

See doc at shmdt(2).

§

msgget

See doc at msgget(2).

§

msgsnd

See doc at msgsnd(2).

§

msgrcv

See doc at msgrcv(2).

§

msgctl

See doc at msgctl(2).

§

fcntl

See doc at fcntl(2).

§

flock

See doc at flock(2).

§

fsync

See doc at fsync(2).

§

fdatasync

See doc at fdatasync(2).

§

truncate

See doc at truncate(2).

§

ftruncate

See doc at ftruncate(2).

§

getdents

See doc at getdents(2).

§

getcwd

See doc at getcwd(2).

§

chdir

See doc at chdir(2).

§

fchdir

See doc at fchdir(2).

§

rename

See doc at rename(2).

§

mkdir

See doc at mkdir(2).

§

rmdir

See doc at rmdir(2).

§

creat

See doc at creat(2).

See doc at link(2).

See doc at unlink(2).

See doc at symlink(2).

See doc at readlink(2).

§

chmod

See doc at chmod(2).

§

fchmod

See doc at fchmod(2).

§

chown

See doc at chown(2).

§

fchown

See doc at fchown(2).

§

lchown

See doc at lchown(2).

§

umask

See doc at umask(2).

§

gettimeofday

See doc at gettimeofday(2).

§

getrlimit

See doc at getrlimit(2).

§

getrusage

See doc at getrusage(2).

§

sysinfo

See doc at sysinfo(2).

§

times

See doc at times(2).

§

ptrace

See doc at ptrace(2).

§

getuid

See doc at getuid(2).

§

syslog

See doc at syslog(2).

§

getgid

See doc at getgid(2).

§

setuid

See doc at setuid(2).

§

setgid

See doc at setgid(2).

§

geteuid

See doc at geteuid(2).

§

getegid

See doc at getegid(2).

§

setpgid

See doc at setpgid(2).

§

getppid

See doc at getppid(2).

§

getpgrp

See doc at getpgrp(2).

§

setsid

See doc at setsid(2).

§

setreuid

See doc at setreuid(2).

§

setregid

See doc at setregid(2).

§

getgroups

See doc at getgroups(2).

§

setgroups

See doc at setgroups(2).

§

setresuid

See doc at setresuid(2).

§

getresuid

See doc at getresuid(2).

§

setresgid

See doc at setresgid(2).

§

getresgid

See doc at getresgid(2).

§

getpgid

See doc at getpgid(2).

§

setfsuid

See doc at setfsuid(2).

§

setfsgid

See doc at setfsgid(2).

§

getsid

See doc at getsid(2).

§

capget

See doc at capget(2).

§

capset

See doc at capset(2).

§

rt_sigpending

See doc at rt_sigpending(2).

§

rt_sigtimedwait

See doc at rt_sigtimedwait(2).

§

rt_sigqueueinfo

See doc at rt_sigqueueinfo(2).

§

rt_sigsuspend

See doc at rt_sigsuspend(2).

§

sigaltstack

See doc at sigaltstack(2).

§

utime

See doc at utime(2).

§

mknod

See doc at mknod(2).

§

uselib

See doc at uselib(2).

§

personality

See doc at personality(2).

§

ustat

See doc at ustat(2).

§

statfs

See doc at statfs(2).

§

fstatfs

See doc at fstatfs(2).

§

sysfs

See doc at sysfs(2).

§

getpriority

See doc at getpriority(2).

§

setpriority

See doc at setpriority(2).

§

sched_setparam

See doc at sched_setparam(2).

§

sched_getparam

See doc at sched_getparam(2).

§

sched_setscheduler

§

sched_getscheduler

§

sched_get_priority_max

§

sched_get_priority_min

§

sched_rr_get_interval

§

mlock

See doc at mlock(2).

§

munlock

See doc at munlock(2).

§

mlockall

See doc at mlockall(2).

§

munlockall

See doc at munlockall(2).

§

vhangup

See doc at vhangup(2).

§

modify_ldt

See doc at modify_ldt(2).

§

pivot_root

See doc at pivot_root(2).

§

_sysctl

See doc at _sysctl(2).

§

prctl

See doc at prctl(2).

§

arch_prctl

See doc at arch_prctl(2).

§

adjtimex

See doc at adjtimex(2).

§

setrlimit

See doc at setrlimit(2).

§

chroot

See doc at chroot(2).

§

sync

See doc at sync(2).

§

acct

See doc at acct(2).

§

settimeofday

See doc at settimeofday(2).

§

mount

See doc at mount(2).

§

umount2

See doc at umount2(2).

§

swapon

See doc at swapon(2).

§

swapoff

See doc at swapoff(2).

§

reboot

See doc at reboot(2).

§

sethostname

See doc at sethostname(2).

§

setdomainname

See doc at setdomainname(2).

§

iopl

See doc at iopl(2).

§

ioperm

See doc at ioperm(2).

§

create_module

See doc at create_module(2).

§

init_module

See doc at init_module(2).

§

delete_module

See doc at delete_module(2).

§

get_kernel_syms

See doc at get_kernel_syms(2).

§

query_module

See doc at query_module(2).

§

quotactl

See doc at quotactl(2).

§

nfsservctl

See doc at nfsservctl(2).

§

getpmsg

See doc at getpmsg(2).

§

putpmsg

See doc at putpmsg(2).

§

afs_syscall

See doc at afs_syscall(2).

§

tuxcall

See doc at tuxcall(2).

§

security

See doc at security(2).

§

gettid

See doc at gettid(2).

§

readahead

See doc at readahead(2).

§

setxattr

See doc at setxattr(2).

§

lsetxattr

See doc at lsetxattr(2).

§

fsetxattr

See doc at fsetxattr(2).

§

getxattr

See doc at getxattr(2).

§

lgetxattr

See doc at lgetxattr(2).

§

fgetxattr

See doc at fgetxattr(2).

§

listxattr

See doc at listxattr(2).

§

llistxattr

See doc at llistxattr(2).

§

flistxattr

See doc at flistxattr(2).

§

removexattr

See doc at removexattr(2).

§

lremovexattr

See doc at lremovexattr(2).

§

fremovexattr

See doc at fremovexattr(2).

§

tkill

See doc at tkill(2).

§

time

See doc at time(2).

§

futex

See doc at futex(2).

§

sched_setaffinity

§

sched_getaffinity

§

set_thread_area

See doc at set_thread_area(2).

§

io_setup

See doc at io_setup(2).

§

io_destroy

See doc at io_destroy(2).

§

io_getevents

See doc at io_getevents(2).

§

io_submit

See doc at io_submit(2).

§

io_cancel

See doc at io_cancel(2).

§

get_thread_area

See doc at get_thread_area(2).

§

lookup_dcookie

See doc at lookup_dcookie(2).

§

epoll_create

See doc at epoll_create(2).

§

epoll_ctl_old

See doc at epoll_ctl_old(2).

§

epoll_wait_old

See doc at epoll_wait_old(2).

§

remap_file_pages

See doc at remap_file_pages(2).

§

getdents64

See doc at getdents64(2).

§

set_tid_address

See doc at set_tid_address(2).

§

restart_syscall

See doc at restart_syscall(2).

§

semtimedop

See doc at semtimedop(2).

§

fadvise64

See doc at fadvise64(2).

§

timer_create

See doc at timer_create(2).

§

timer_settime

See doc at timer_settime(2).

§

timer_gettime

See doc at timer_gettime(2).

§

timer_getoverrun

See doc at timer_getoverrun(2).

§

timer_delete

See doc at timer_delete(2).

§

clock_settime

See doc at clock_settime(2).

§

clock_gettime

See doc at clock_gettime(2).

§

clock_getres

See doc at clock_getres(2).

§

clock_nanosleep

See doc at clock_nanosleep(2).

§

exit_group

See doc at exit_group(2).

§

epoll_wait

See doc at epoll_wait(2).

§

epoll_ctl

See doc at epoll_ctl(2).

§

tgkill

See doc at tgkill(2).

§

utimes

See doc at utimes(2).

§

vserver

See doc at vserver(2).

§

mbind

See doc at mbind(2).

§

set_mempolicy

See doc at set_mempolicy(2).

§

get_mempolicy

See doc at get_mempolicy(2).

§

mq_open

See doc at mq_open(2).

See doc at mq_unlink(2).

§

mq_timedsend

See doc at mq_timedsend(2).

§

mq_timedreceive

See doc at mq_timedreceive(2).

§

mq_notify

See doc at mq_notify(2).

§

mq_getsetattr

See doc at mq_getsetattr(2).

§

kexec_load

See doc at kexec_load(2).

§

waitid

See doc at waitid(2).

§

add_key

See doc at add_key(2).

§

request_key

See doc at request_key(2).

§

keyctl

See doc at keyctl(2).

§

ioprio_set

See doc at ioprio_set(2).

§

ioprio_get

See doc at ioprio_get(2).

§

inotify_init

See doc at inotify_init(2).

§

inotify_add_watch

§

inotify_rm_watch

See doc at inotify_rm_watch(2).

§

migrate_pages

See doc at migrate_pages(2).

§

openat

See doc at openat(2).

§

mkdirat

See doc at mkdirat(2).

§

mknodat

See doc at mknodat(2).

§

fchownat

See doc at fchownat(2).

§

futimesat

See doc at futimesat(2).

§

newfstatat

See doc at newfstatat(2).

§

unlinkat

See doc at unlinkat(2).

§

renameat

See doc at renameat(2).

§

linkat

See doc at linkat(2).

§

symlinkat

See doc at symlinkat(2).

§

readlinkat

See doc at readlinkat(2).

§

fchmodat

See doc at fchmodat(2).

§

faccessat

See doc at faccessat(2).

§

pselect6

See doc at pselect6(2).

§

ppoll

See doc at ppoll(2).

§

unshare

See doc at unshare(2).

§

set_robust_list

See doc at set_robust_list(2).

§

get_robust_list

See doc at get_robust_list(2).

§

splice

See doc at splice(2).

§

tee

See doc at tee(2).

§

sync_file_range

See doc at sync_file_range(2).

§

vmsplice

See doc at vmsplice(2).

§

move_pages

See doc at move_pages(2).

§

utimensat

See doc at utimensat(2).

§

epoll_pwait

See doc at epoll_pwait(2).

§

signalfd

See doc at signalfd(2).

§

timerfd_create

See doc at timerfd_create(2).

§

eventfd

See doc at eventfd(2).

§

fallocate

See doc at fallocate(2).

§

timerfd_settime

See doc at timerfd_settime(2).

§

timerfd_gettime

See doc at timerfd_gettime(2).

§

accept4

See doc at accept4(2).

§

signalfd4

See doc at signalfd4(2).

§

eventfd2

See doc at eventfd2(2).

§

epoll_create1

See doc at epoll_create1(2).

§

dup3

See doc at dup3(2).

§

pipe2

See doc at pipe2(2).

§

inotify_init1

See doc at inotify_init1(2).

§

preadv

See doc at preadv(2).

§

pwritev

See doc at pwritev(2).

§

rt_tgsigqueueinfo

§

perf_event_open

See doc at perf_event_open(2).

§

recvmmsg

See doc at recvmmsg(2).

§

fanotify_init

See doc at fanotify_init(2).

§

fanotify_mark

See doc at fanotify_mark(2).

§

prlimit64

See doc at prlimit64(2).

§

name_to_handle_at

§

open_by_handle_at

§

clock_adjtime

See doc at clock_adjtime(2).

§

syncfs

See doc at syncfs(2).

§

sendmmsg

See doc at sendmmsg(2).

§

setns

See doc at setns(2).

§

getcpu

See doc at getcpu(2).

§

process_vm_readv

See doc at process_vm_readv(2).

§

process_vm_writev

§

kcmp

See doc at kcmp(2).

§

finit_module

See doc at finit_module(2).

§

sched_setattr

See doc at sched_setattr(2).

§

sched_getattr

See doc at sched_getattr(2).

§

renameat2

See doc at renameat2(2).

§

seccomp

See doc at seccomp(2).

§

getrandom

See doc at getrandom(2).

§

memfd_create

See doc at memfd_create(2).

§

kexec_file_load

See doc at kexec_file_load(2).

§

bpf

See doc at bpf(2).

§

execveat

See doc at execveat(2).

§

userfaultfd

See doc at userfaultfd(2).

§

membarrier

See doc at membarrier(2).

§

mlock2

See doc at mlock2(2).

§

copy_file_range

See doc at copy_file_range(2).

§

preadv2

See doc at preadv2(2).

§

pwritev2

See doc at pwritev2(2).

§

pkey_mprotect

See doc at pkey_mprotect(2).

§

pkey_alloc

See doc at pkey_alloc(2).

§

pkey_free

See doc at pkey_free(2).

§

statx

See doc at statx(2).

§

io_pgetevents

See doc at io_pgetevents(2).

§

rseq

See doc at rseq(2).

§

pidfd_send_signal

§

io_uring_setup

See doc at io_uring_setup(2).

§

io_uring_enter

See doc at io_uring_enter(2).

§

io_uring_register

§

open_tree

See doc at open_tree(2).

§

move_mount

See doc at move_mount(2).

§

fsopen

See doc at fsopen(2).

§

fsconfig

See doc at fsconfig(2).

§

fsmount

See doc at fsmount(2).

§

fspick

See doc at fspick(2).

§

pidfd_open

See doc at pidfd_open(2).

§

clone3

See doc at clone3(2).

§

close_range

See doc at close_range(2).

§

openat2

See doc at openat2(2).

§

pidfd_getfd

See doc at pidfd_getfd(2).

§

faccessat2

See doc at faccessat2(2).

§

process_madvise

See doc at process_madvise(2).

§

epoll_pwait2

See doc at epoll_pwait2(2).

§

mount_setattr

See doc at mount_setattr(2).

§

quotactl_fd

See doc at quotactl_fd(2).

§

landlock_create_ruleset

§

landlock_add_rule

§

landlock_restrict_self

§

memfd_secret

See doc at memfd_secret(2).

§

process_mrelease

See doc at process_mrelease(2).

§

futex_waitv

See doc at futex_waitv(2).

§

set_mempolicy_home_node

Trait Implementations§

source§

impl Clone for Sysno

source§

fn clone(&self) -> Sysno

Returns a copy 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<(), Error>

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

impl Hash for Sysno

source§

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

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) -> Selfwhere Self: Sized,

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

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

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

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

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

impl PartialEq<Sysno> for Sysno

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Sysno> 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

This method 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

This method 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

This method 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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for Sysno

source§

impl Eq for Sysno

source§

impl StructuralEq for Sysno

source§

impl StructuralPartialEq for Sysno

Auto Trait Implementations§

§

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere T: Clone,

§

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, U> TryFrom<U> for Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.