pub struct SystemConfig {
pub max_parallel_plugins: usize,
pub workspace: Option<PathBuf>,
pub debug: bool,
pub plugin_directories: Vec<PathBuf>,
pub max_execution_timeout: Option<u64>,
pub enable_sandbox: bool,
pub sandbox: SandboxConfig,
}Expand description
System-wide configuration settings
Fields§
§max_parallel_plugins: usizeMaximum number of plugins that can run in parallel
workspace: Option<PathBuf>Default workspace directory for plugin execution
debug: boolEnable debug logging
plugin_directories: Vec<PathBuf>Plugin discovery directories
max_execution_timeout: Option<u64>Maximum plugin execution timeout in seconds
enable_sandbox: boolEnable sandbox isolation by default
sandbox: SandboxConfigDefault sandbox configuration
Trait Implementations§
Source§impl Clone for SystemConfig
impl Clone for SystemConfig
Source§impl Debug for SystemConfig
impl Debug for SystemConfig
Source§impl Default for SystemConfig
impl Default for SystemConfig
Source§impl<'de> Deserialize<'de> for SystemConfigwhere
SystemConfig: Default,
impl<'de> Deserialize<'de> for SystemConfigwhere
SystemConfig: Default,
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
Auto Trait Implementations§
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnsafeUnpin for SystemConfig
impl UnwindSafe for SystemConfig
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