pub struct ProcessBuilder { /* private fields */ }
Expand description
Builder for Process
.
Implementations§
Source§impl ProcessBuilder
impl ProcessBuilder
pub fn apparmor_profile<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn args<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn capabilities<VALUE: Into<Option<Capabilities>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn console_size<VALUE: Into<Option<ConsoleSize>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn cwd<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn env<VALUE: Into<Option<Vec<String>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn no_new_privileges<VALUE: Into<Option<bool>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn oom_score_adj<VALUE: Into<Option<i64>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn rlimits<VALUE: Into<Option<Vec<Rlimit>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn selinux_label<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn terminal<VALUE: Into<Option<bool>>>(&mut self, value: VALUE) -> &mut Self
pub fn user<VALUE: Into<Option<User>>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for ProcessBuilder
impl Clone for ProcessBuilder
Source§fn clone(&self) -> ProcessBuilder
fn clone(&self) -> ProcessBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ProcessBuilder
impl Default for ProcessBuilder
Source§fn default() -> ProcessBuilder
fn default() -> ProcessBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessBuilder
impl RefUnwindSafe for ProcessBuilder
impl Send for ProcessBuilder
impl Sync for ProcessBuilder
impl Unpin for ProcessBuilder
impl UnwindSafe for ProcessBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more