[−][src]Struct opencontainers::runtime::config::Process
Fields
terminal: Option<bool>
specifies whether a terminal is attached to the process, defaults to false. As an example, if set to true on Linux a pseudoterminal pair is allocated for the process and the pseudoterminal slave is duplicated on the process's standard streams.
console_size: Option<ConsoleSize>
specifies the console size in characters of the terminal.
Runtimes MUST ignore [console_size] if [terminal] is false
or unset.
cwd: PathBuf
the working directory that will be set for the executable.
This value MUST be an absolute path.
env: Option<Vec<String>>
array of strings with the same semantics as IEEE Std 1003.1-2008's
environ
.
args: Option<Vec<String>>
array of strings with similar semantics to IEEE Std 1003.1-2008 execvp's
argv
. This specification extends the IEEE standard in that at least
one entry is REQUIRED (non-Windows), and that entry is used with the
same semantics as execvp
's file. This field is OPTIONAL on Windows,
and commandLine is REQUIRED if this field is omitted.
command_line: Option<String>
specifies the full command line to be executed on Windows.
This is the preferred means of supplying the command line on Windows. If omitted, the runtime will fall back to escaping and concatenating fields from args before making the system call into Windows.
posix: PosixProcessExt
linux: LinuxProcessExt
Trait Implementations
impl Debug for Process
[src]
impl Serialize for Process
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Process
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,