[][src]Struct oci_spec::runtime::Process

pub struct Process {
    pub terminal: Option<bool>,
    pub console_size: Option<Box>,
    pub user: User,
    pub args: Option<Vec<String>>,
    pub env: Option<Vec<String>>,
    pub cwd: String,
    pub capabilities: Option<LinuxCapabilities>,
    pub rlimits: Option<Vec<POSIXRlimit>>,
    pub no_new_privileges: Option<bool>,
    pub apparmor_profile: Option<String>,
    pub oom_score_adj: Option<i32>,
    pub selinux_label: Option<String>,
}

Fields

terminal: Option<bool>console_size: Option<Box>user: Userargs: Option<Vec<String>>env: Option<Vec<String>>cwd: Stringcapabilities: Option<LinuxCapabilities>rlimits: Option<Vec<POSIXRlimit>>no_new_privileges: Option<bool>apparmor_profile: Option<String>oom_score_adj: Option<i32>selinux_label: Option<String>

Trait Implementations

impl Debug for Process[src]

impl Serialize for Process[src]

impl<'de> Deserialize<'de> for Process[src]

Auto Trait Implementations

impl Send for Process

impl Sync for Process

impl Unpin for Process

impl UnwindSafe for Process

impl RefUnwindSafe for Process

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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