pub struct PythonSkillPolicy {
pub timeout_ms: u64,
pub max_output_bytes: usize,
}Expand description
Resource limits for Python skill subprocess execution.
Fields§
§timeout_ms: u64Hard timeout for the subprocess. Default: 30 seconds.
max_output_bytes: usizeMaximum combined stdout+stderr size before truncation. Default: 64 KiB.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PythonSkillPolicy
impl RefUnwindSafe for PythonSkillPolicy
impl Send for PythonSkillPolicy
impl Sync for PythonSkillPolicy
impl Unpin for PythonSkillPolicy
impl UnsafeUnpin for PythonSkillPolicy
impl UnwindSafe for PythonSkillPolicy
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