pub struct ProcessSpawnSpec {
pub programs: Vec<String>,
}Expand description
Capability vocabulary — one set of types, owned by phi-cap
(sdk-assembly §4.1): declaration layer CapabilitySpec, pinned layer
ResolvedCapability, decision layer phi_cap::Capability, with
class_of the only translation between them. This module re-exports the
same type names so existing plugin code is unchanged (the old “wasm form
only” law is lifted: every shape that declares capabilities uses these).
Which variants a form may declare is that form’s enforcement face —
see PluginManifest::validate_tool: declared means enforceable.
Process spawn face (process:spawn).
programs narrows the declaration to named programs; empty means the
unrestricted process face (a shell runs whatever it is given — the
honest declaration for sh.run). Policy still decides per call.
Fields§
§programs: Vec<String>Program allow-list; empty = unrestricted.
Trait Implementations§
Source§impl Clone for ProcessSpawnSpec
impl Clone for ProcessSpawnSpec
Source§fn clone(&self) -> ProcessSpawnSpec
fn clone(&self) -> ProcessSpawnSpec
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProcessSpawnSpec
impl Debug for ProcessSpawnSpec
Source§impl Default for ProcessSpawnSpec
impl Default for ProcessSpawnSpec
Source§fn default() -> ProcessSpawnSpec
fn default() -> ProcessSpawnSpec
Source§impl<'de> Deserialize<'de> for ProcessSpawnSpec
impl<'de> Deserialize<'de> for ProcessSpawnSpec
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessSpawnSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProcessSpawnSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for ProcessSpawnSpec
Source§impl PartialEq for ProcessSpawnSpec
impl PartialEq for ProcessSpawnSpec
Source§impl Serialize for ProcessSpawnSpec
impl Serialize for ProcessSpawnSpec
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ProcessSpawnSpec
Auto Trait Implementations§
impl Forget for ProcessSpawnSpec
impl Freeze for ProcessSpawnSpec
impl RefUnwindSafe for ProcessSpawnSpec
impl Send for ProcessSpawnSpec
impl Sync for ProcessSpawnSpec
impl Unpin for ProcessSpawnSpec
impl UnsafeUnpin for ProcessSpawnSpec
impl UnwindSafe for ProcessSpawnSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.