pub struct ResourceBudgets {
pub max_response_bytes: usize,
pub max_query_result_bytes: usize,
pub max_report_bytes: usize,
pub max_state_section_items: usize,
pub max_workflow_effects: usize,
pub max_jobs_per_poll: usize,
pub integration_connect_timeout_ms: u64,
pub integration_operation_timeout_ms: u64,
pub integration_max_response_bytes: usize,
}Expand description
Runtime resource ceilings applied to responses, queries, jobs, and integrations.
§Fields
max_response_bytes: Stored field onResourceBudgets.max_query_result_bytes: Stored field onResourceBudgets.max_report_bytes: Stored field onResourceBudgets.max_state_section_items: Stored field onResourceBudgets.max_workflow_effects: Stored field onResourceBudgets.max_jobs_per_poll: Stored field onResourceBudgets.integration_connect_timeout_ms: Stored field onResourceBudgets.integration_operation_timeout_ms: Stored field onResourceBudgets.integration_max_response_bytes: Stored field onResourceBudgets.
§Examples
ⓘ
let _ = std::mem::size_of::<pharos_runtime_core::config::ResourceBudgets>();§Related
crate::configfor constructors, helpers, and neighboring runtime types.
Fields§
§max_response_bytes: usize§max_query_result_bytes: usize§max_report_bytes: usize§max_state_section_items: usize§max_workflow_effects: usize§max_jobs_per_poll: usize§integration_connect_timeout_ms: u64§integration_operation_timeout_ms: u64§integration_max_response_bytes: usizeTrait Implementations§
Source§impl Clone for ResourceBudgets
impl Clone for ResourceBudgets
Source§fn clone(&self) -> ResourceBudgets
fn clone(&self) -> ResourceBudgets
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 ResourceBudgets
impl Debug for ResourceBudgets
Source§impl PartialEq for ResourceBudgets
impl PartialEq for ResourceBudgets
Source§fn eq(&self, other: &ResourceBudgets) -> bool
fn eq(&self, other: &ResourceBudgets) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResourceBudgets
impl StructuralPartialEq for ResourceBudgets
Auto Trait Implementations§
impl Freeze for ResourceBudgets
impl RefUnwindSafe for ResourceBudgets
impl Send for ResourceBudgets
impl Sync for ResourceBudgets
impl Unpin for ResourceBudgets
impl UnsafeUnpin for ResourceBudgets
impl UnwindSafe for ResourceBudgets
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.