pub struct SkillsConfig {
pub skills_dir: PathBuf,
pub script_timeout_seconds: u64,
pub script_max_output_bytes: usize,
pub allowed_interpreters: Vec<String>,
pub sandbox_env: bool,
pub hot_reload: bool,
pub script_max_memory_bytes: Option<u64>,
pub network_allowed: bool,
pub workspace_dir: Option<PathBuf>,
}Fields§
§skills_dir: PathBuf§script_timeout_seconds: u64§script_max_output_bytes: usize§allowed_interpreters: Vec<String>§sandbox_env: bool§hot_reload: bool§script_max_memory_bytes: Option<u64>Maximum virtual memory (bytes) a skill script process may allocate. Enforced via RLIMIT_AS on Unix. None = no limit. Default: 256 MiB.
network_allowed: boolWhether sandboxed scripts are allowed outbound network access. When false the runner attempts platform-specific network isolation (macOS sandbox-exec, Linux unshare). Default: false (deny by default).
workspace_dir: Option<PathBuf>Optional workspace root exposed to scripts as $ROBOTICUS_WORKSPACE. Scripts are confined to skills_dir for their own code, but may read/write within this workspace path. If None, no workspace path is exposed.
Trait Implementations§
Source§impl Clone for SkillsConfig
impl Clone for SkillsConfig
Source§fn clone(&self) -> SkillsConfig
fn clone(&self) -> SkillsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SkillsConfig
impl Debug for SkillsConfig
Source§impl Default for SkillsConfig
impl Default for SkillsConfig
Source§impl<'de> Deserialize<'de> for SkillsConfig
impl<'de> Deserialize<'de> for SkillsConfig
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 SkillsConfig
impl RefUnwindSafe for SkillsConfig
impl Send for SkillsConfig
impl Sync for SkillsConfig
impl Unpin for SkillsConfig
impl UnsafeUnpin for SkillsConfig
impl UnwindSafe for SkillsConfig
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