pub struct CaptureLimits {
pub max_requests: usize,
pub max_stages: usize,
pub max_queues: usize,
pub max_inflight_snapshots: usize,
pub max_runtime_snapshots: usize,
}Expand description
Limits that bound in-memory capture growth for one run.
Limits apply to retained in-memory data while capture is active. When a section reaches its cap, additional entries are dropped and truncation counters are updated.
Fields§
§max_requests: usizeMaximum number of request events retained in-memory for the run.
max_stages: usizeMaximum number of stage events retained in-memory for the run.
max_queues: usizeMaximum number of queue events retained in-memory for the run.
max_inflight_snapshots: usizeMaximum number of in-flight snapshots retained in-memory for the run.
max_runtime_snapshots: usizeMaximum number of runtime snapshots retained in-memory for the run.
Trait Implementations§
Source§impl Clone for CaptureLimits
impl Clone for CaptureLimits
Source§fn clone(&self) -> CaptureLimits
fn clone(&self) -> CaptureLimits
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 CaptureLimits
impl Debug for CaptureLimits
Source§impl Default for CaptureLimits
impl Default for CaptureLimits
Source§impl<'de> Deserialize<'de> for CaptureLimits
impl<'de> Deserialize<'de> for CaptureLimits
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 CaptureLimits
impl PartialEq for CaptureLimits
Source§fn eq(&self, other: &CaptureLimits) -> bool
fn eq(&self, other: &CaptureLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CaptureLimits
impl Serialize for CaptureLimits
impl Copy for CaptureLimits
impl Eq for CaptureLimits
impl StructuralPartialEq for CaptureLimits
Auto Trait Implementations§
impl Freeze for CaptureLimits
impl RefUnwindSafe for CaptureLimits
impl Send for CaptureLimits
impl Sync for CaptureLimits
impl Unpin for CaptureLimits
impl UnsafeUnpin for CaptureLimits
impl UnwindSafe for CaptureLimits
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