pub struct SandboxedCommand { /* private fields */ }Implementations§
Source§impl SandboxedCommand
impl SandboxedCommand
pub fn from_tool(tool: &Tool) -> Self
pub fn new<S: AsRef<OsStr>>(program: S) -> Self
pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Self
pub fn args<I, S>(&mut self, args: I) -> &mut Self
pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Self
pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Self
pub fn stderr<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Self
pub fn output(&mut self) -> Result<Output>
pub fn spawn(&mut self) -> Result<Child>
pub fn status(&mut self) -> Result<ExitStatus>
Auto Trait Implementations§
impl Freeze for SandboxedCommand
impl RefUnwindSafe for SandboxedCommand
impl Send for SandboxedCommand
impl Sync for SandboxedCommand
impl Unpin for SandboxedCommand
impl UnsafeUnpin for SandboxedCommand
impl UnwindSafe for SandboxedCommand
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