pub struct Limits {
pub max_depth: usize,
pub max_rules: u64,
pub max_values: usize,
pub max_trace_events: usize,
pub max_trace_bytes: usize,
}Expand description
How much a transform may do before it stops with an ErrorKind::Limit error, and how much
of its trace is kept.
Fields§
§max_depth: usizeGroups calling groups.
max_rules: u64Rules run, counting each run of a rule once.
max_values: usizeValues created: target elements and intermediate values.
max_trace_events: usizeTrace events kept; later events are left out and the trace is truncated.
max_trace_bytes: usizeRoughly the size of the kept trace events as JSON, in bytes.
Trait Implementations§
impl Copy for Limits
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.