pub struct ResourceQuota {
pub max_concurrent_subagents: Option<u32>,
pub max_total_subagents: Option<u32>,
pub max_spawn_depth: Option<u32>,
pub max_workflow_nodes: Option<u32>,
pub memory_writes_per_window: Option<RateWindow>,
}Expand description
Declarative caps enforced at the syscall trap. Absent axis ⇒ uncapped, which is a value.
Fields§
§max_concurrent_subagents: Option<u32>§max_total_subagents: Option<u32>§max_spawn_depth: Option<u32>§max_workflow_nodes: Option<u32>§memory_writes_per_window: Option<RateWindow>Rolling-window memory-write rate limit. Named fields keep the contract self-describing and allow strict unknown-field rejection.
Trait Implementations§
Source§impl Clone for ResourceQuota
impl Clone for ResourceQuota
Source§fn clone(&self) -> ResourceQuota
fn clone(&self) -> ResourceQuota
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 ResourceQuota
impl Debug for ResourceQuota
Source§impl Default for ResourceQuota
impl Default for ResourceQuota
Source§fn default() -> ResourceQuota
fn default() -> ResourceQuota
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceQuota
impl<'de> Deserialize<'de> for ResourceQuota
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
Source§impl PartialEq for ResourceQuota
impl PartialEq for ResourceQuota
Source§impl Serialize for ResourceQuota
impl Serialize for ResourceQuota
impl StructuralPartialEq for ResourceQuota
Auto Trait Implementations§
impl Freeze for ResourceQuota
impl RefUnwindSafe for ResourceQuota
impl Send for ResourceQuota
impl Sync for ResourceQuota
impl Unpin for ResourceQuota
impl UnsafeUnpin for ResourceQuota
impl UnwindSafe for ResourceQuota
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