pub struct WrappedCommand {
pub program: OsString,
pub args: Vec<OsString>,
}Available on crate feature
sandbox only.Expand description
The result of wrapping a command with sandbox enforcement.
Contains the new program to execute and the full argument list (sandbox wrapper args + original program + original args).
Fields§
§program: OsStringThe program to execute (e.g., “sandbox-exec”, “bwrap”, or the original program for Windows).
args: Vec<OsString>The full argument list including wrapper args, separator, and original args.
Trait Implementations§
Source§impl Clone for WrappedCommand
impl Clone for WrappedCommand
Source§fn clone(&self) -> WrappedCommand
fn clone(&self) -> WrappedCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WrappedCommand
impl RefUnwindSafe for WrappedCommand
impl Send for WrappedCommand
impl Sync for WrappedCommand
impl Unpin for WrappedCommand
impl UnsafeUnpin for WrappedCommand
impl UnwindSafe for WrappedCommand
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