pub struct ProcessExtensionConfig {
pub id: String,
pub enabled: bool,
pub manifest: String,
pub command: String,
pub args: Vec<String>,
pub cwd: Option<String>,
pub env: BTreeMap<String, String>,
pub startup_timeout_ms: u64,
pub event_filter: ProcessEventFilter,
}Expand description
One [[process_extensions]] config entry. env is an explicit
allowlist — the host never forwards its full environment.
Fields§
§id: String§enabled: bool§manifest: StringPath to the extension manifest TOML (registry source of truth).
command: String§args: Vec<String>§cwd: Option<String>§env: BTreeMap<String, String>§startup_timeout_ms: u64Milliseconds the host waits for spawn + initialize before failing.
event_filter: ProcessEventFilterEvent kinds forwarded to the child (prefix match; empty = none).
Trait Implementations§
Source§impl Clone for ProcessExtensionConfig
impl Clone for ProcessExtensionConfig
Source§fn clone(&self) -> ProcessExtensionConfig
fn clone(&self) -> ProcessExtensionConfig
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 ProcessExtensionConfig
impl Debug for ProcessExtensionConfig
Source§impl<'de> Deserialize<'de> for ProcessExtensionConfig
impl<'de> Deserialize<'de> for ProcessExtensionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcessExtensionConfig
Source§impl PartialEq for ProcessExtensionConfig
impl PartialEq for ProcessExtensionConfig
Source§fn eq(&self, other: &ProcessExtensionConfig) -> bool
fn eq(&self, other: &ProcessExtensionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessExtensionConfig
impl Serialize for ProcessExtensionConfig
impl StructuralPartialEq for ProcessExtensionConfig
Auto Trait Implementations§
impl Freeze for ProcessExtensionConfig
impl RefUnwindSafe for ProcessExtensionConfig
impl Send for ProcessExtensionConfig
impl Sync for ProcessExtensionConfig
impl Unpin for ProcessExtensionConfig
impl UnsafeUnpin for ProcessExtensionConfig
impl UnwindSafe for ProcessExtensionConfig
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,
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
Compare self to
key and return true if they are equal.