Enum pledge::Promise[][src]

pub enum Promise {
Show variants Audio, Bpf, Chown, Cpath, Disklabel, Dns, Dpath, Drm, Error, Exec, Fattr, Flock, Getpw, Id, Inet, Ioctl, Mcast, Pf, Proc, ProtExec, Ps, Recvfd, Route, Rpath, Sendfd, Settime, Stdio, Tape, Tmppath, Tty, Unix, Unveil, Video, Vminfo, Vmm, Wpath, Wroute, // some variants omitted
}

Variants

Audio

OpenBSD 5.9–6.9

Bpf

OpenBSD 6.1–6.9

Chown

OpenBSD 6.0–6.9

Cpath

OpenBSD 5.9–6.9

Disklabel

OpenBSD 6.1–6.9

Dns

OpenBSD 5.9–6.9

Dpath

OpenBSD 5.9–6.9

Drm

OpenBSD 6.1–6.9

Error

OpenBSD 6.3–6.9

Exec

OpenBSD 5.9–6.9

Fattr

OpenBSD 5.9–6.9

Flock

OpenBSD 5.9–6.9

Getpw

OpenBSD 5.9–6.9

Id

OpenBSD 5.9–6.9

Inet

OpenBSD 5.9–6.9

Ioctl

OpenBSD 5.9–6.0

Mcast

OpenBSD 6.1–6.9

Pf

OpenBSD 5.9–6.9

Proc

OpenBSD 5.9–6.9

ProtExec

OpenBSD 5.9–6.9

Ps

OpenBSD 5.9–6.9

Recvfd

OpenBSD 5.9–6.9

Route

OpenBSD 6.1–6.9

Rpath

OpenBSD 5.9–6.9

Sendfd

OpenBSD 5.9–6.9

Settime

OpenBSD 5.9–6.9

Stdio

OpenBSD 5.9–6.9

Tape

OpenBSD 6.1–6.9

Tmppath

OpenBSD 5.9–6.9

Tty

OpenBSD 5.9–6.9

Unix

OpenBSD 5.9–6.9

Unveil

OpenBSD 6.4–6.9

Video

OpenBSD 6.5–6.9

Vminfo

OpenBSD 5.9–6.9

Vmm

OpenBSD 6.1–6.9

Wpath

OpenBSD 5.9–6.9

Wroute

OpenBSD 6.8–6.9

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.