[][src]Enum pledge::Promise

pub enum Promise {
    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.8

Bpf

OpenBSD 6.1–6.8

Chown

OpenBSD 6.0–6.8

Cpath

OpenBSD 5.9–6.8

Disklabel

OpenBSD 6.1–6.8

Dns

OpenBSD 5.9–6.8

Dpath

OpenBSD 5.9–6.8

Drm

OpenBSD 6.1–6.8

Error

OpenBSD 6.3–6.8

Exec

OpenBSD 5.9–6.8

Fattr

OpenBSD 5.9–6.8

Flock

OpenBSD 5.9–6.8

Getpw

OpenBSD 5.9–6.8

Id

OpenBSD 5.9–6.8

Inet

OpenBSD 5.9–6.8

Ioctl

OpenBSD 5.9–6.0

Mcast

OpenBSD 6.1–6.8

Pf

OpenBSD 5.9–6.8

Proc

OpenBSD 5.9–6.8

ProtExec

OpenBSD 5.9–6.8

Ps

OpenBSD 5.9–6.8

Recvfd

OpenBSD 5.9–6.8

Route

OpenBSD 6.1–6.8

Rpath

OpenBSD 5.9–6.8

Sendfd

OpenBSD 5.9–6.8

Settime

OpenBSD 5.9–6.8

Stdio

OpenBSD 5.9–6.8

Tape

OpenBSD 6.1–6.8

Tmppath

OpenBSD 5.9–6.8

Tty

OpenBSD 5.9–6.8

Unix

OpenBSD 5.9–6.8

Unveil

OpenBSD 6.4–6.8

Video

OpenBSD 6.5–6.8

Vminfo

OpenBSD 5.9–6.8

Vmm

OpenBSD 6.1–6.8

Wpath

OpenBSD 5.9–6.8

Wroute

OpenBSD 6.8

Implementations

impl Promise[src]

pub fn to_promise_string(&self) -> &'static str[src]

Auto Trait Implementations

impl RefUnwindSafe for Promise

impl Send for Promise

impl Sync for Promise

impl Unpin for Promise

impl UnwindSafe for Promise

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.