pub struct JailerCommandBuilder { /* private fields */ }Implementations§
source§impl JailerCommandBuilder
impl JailerCommandBuilder
pub fn new() -> Self
pub fn args(&self) -> Vec<String>
pub fn bin(&self) -> PathBuf
pub fn with_bin(self, bin: impl Into<PathBuf>) -> Self
pub fn with_id(self, id: &String) -> Self
pub fn with_uid(self, uid: &u32) -> Self
pub fn with_gid(self, gid: &u32) -> Self
pub fn with_exec_file(self, path: impl Into<PathBuf>) -> Self
pub fn with_numa_node(self, node: &usize) -> Self
pub fn with_chroot_base_dir(self, path: impl Into<PathBuf>) -> Self
pub fn with_net_ns(self, path: impl Into<PathBuf>) -> Self
pub fn with_daemonize(self, daemonize: &bool) -> Self
pub fn with_stdin(self, stdin: impl Into<Stdio>) -> Self
pub fn with_stdout(self, stdout: impl Into<Stdio>) -> Self
pub fn with_stderr(self, stderr: impl Into<Stdio>) -> Self
pub fn with_firecracker_args(self, args: impl Into<Vec<String>>) -> Self
pub fn build(self) -> Command
Auto Trait Implementations§
impl RefUnwindSafe for JailerCommandBuilder
impl Send for JailerCommandBuilder
impl Sync for JailerCommandBuilder
impl Unpin for JailerCommandBuilder
impl UnwindSafe for JailerCommandBuilder
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