pub struct SandboxPlan {
pub program: PathBuf,
pub args: Vec<String>,
pub env: BTreeMap<String, String>,
pub cwd: Option<PathBuf>,
}Expand description
Backend-produced execution plan. v0.2 only lands the trait shape, so this remains a simple command description rather than a spawned process.
Fields§
§program: PathBuf§args: Vec<String>§env: BTreeMap<String, String>§cwd: Option<PathBuf>Implementations§
Source§impl SandboxPlan
impl SandboxPlan
pub fn passthrough(request: &ValidatedExecRequest) -> Self
Trait Implementations§
Source§impl Clone for SandboxPlan
impl Clone for SandboxPlan
Source§fn clone(&self) -> SandboxPlan
fn clone(&self) -> SandboxPlan
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 moreSource§impl Debug for SandboxPlan
impl Debug for SandboxPlan
Source§impl PartialEq for SandboxPlan
impl PartialEq for SandboxPlan
Source§fn eq(&self, other: &SandboxPlan) -> bool
fn eq(&self, other: &SandboxPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SandboxPlan
impl StructuralPartialEq for SandboxPlan
Auto Trait Implementations§
impl Freeze for SandboxPlan
impl RefUnwindSafe for SandboxPlan
impl Send for SandboxPlan
impl Sync for SandboxPlan
impl Unpin for SandboxPlan
impl UnsafeUnpin for SandboxPlan
impl UnwindSafe for SandboxPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.