pub struct PythonExecutionLimits {
pub output_buffer_max_bytes: Option<usize>,
pub execution_timeout_ms: Option<u64>,
pub max_old_space_mb: Option<usize>,
pub vfs_rpc_timeout_ms: Option<u64>,
}Expand description
Per-execution Python runtime limits, carried as typed fields rather than
AGENTOS_* env vars. Populated by the sidecar from the per-VM VmLimits
(originating from CreateVmConfig on the BARE wire); None selects the
engine default. See the env-vs-wire rule in crates/sidecar/CLAUDE.md.
Fields§
§output_buffer_max_bytes: Option<usize>Captured-output buffer cap in bytes. None keeps the engine default.
execution_timeout_ms: Option<u64>Execution wall-clock cap in ms. None keeps the engine default;
Some(0) disables the timeout.
max_old_space_mb: Option<usize>Pyodide V8 old-space cap in MB (0 keeps the V8 default). None keeps
the engine default.
vfs_rpc_timeout_ms: Option<u64>VFS sync-RPC wait ceiling in ms. None keeps the engine default.
Trait Implementations§
Source§impl Clone for PythonExecutionLimits
impl Clone for PythonExecutionLimits
Source§fn clone(&self) -> PythonExecutionLimits
fn clone(&self) -> PythonExecutionLimits
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 PythonExecutionLimits
impl Debug for PythonExecutionLimits
Source§impl Default for PythonExecutionLimits
impl Default for PythonExecutionLimits
Source§fn default() -> PythonExecutionLimits
fn default() -> PythonExecutionLimits
Returns the “default value” for a type. Read more
impl Eq for PythonExecutionLimits
Source§impl PartialEq for PythonExecutionLimits
impl PartialEq for PythonExecutionLimits
Source§fn eq(&self, other: &PythonExecutionLimits) -> bool
fn eq(&self, other: &PythonExecutionLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PythonExecutionLimits
Auto Trait Implementations§
impl Freeze for PythonExecutionLimits
impl RefUnwindSafe for PythonExecutionLimits
impl Send for PythonExecutionLimits
impl Sync for PythonExecutionLimits
impl Unpin for PythonExecutionLimits
impl UnsafeUnpin for PythonExecutionLimits
impl UnwindSafe for PythonExecutionLimits
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