#[non_exhaustive]pub enum LimitsProfile {
InteractiveV1,
}Expand description
A named, versioned set of default operational limit values.
A profile freezes every default number behind a stable wire name, so a
serialized configuration can say which defaults it started from instead
of copying platform-dependent values. Existing profile values are never
changed once released; new tunings become new profile variants. The enum is
#[non_exhaustive] so adding a profile is not a breaking change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InteractiveV1
The interactive-tooling defaults this crate has always shipped:
safe for parsing and validating untrusted documents in an editor,
CLI, or agent context on an ordinary desktop host. The exact numbers
are frozen; see each Limits getter for the value and rationale.
Implementations§
Source§impl LimitsProfile
impl LimitsProfile
Trait Implementations§
Source§impl Clone for LimitsProfile
impl Clone for LimitsProfile
Source§fn clone(&self) -> LimitsProfile
fn clone(&self) -> LimitsProfile
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 moreimpl Copy for LimitsProfile
Source§impl Debug for LimitsProfile
impl Debug for LimitsProfile
impl Eq for LimitsProfile
Source§impl Hash for LimitsProfile
impl Hash for LimitsProfile
Source§impl PartialEq for LimitsProfile
impl PartialEq for LimitsProfile
impl StructuralPartialEq for LimitsProfile
Auto Trait Implementations§
impl Freeze for LimitsProfile
impl RefUnwindSafe for LimitsProfile
impl Send for LimitsProfile
impl Sync for LimitsProfile
impl Unpin for LimitsProfile
impl UnsafeUnpin for LimitsProfile
impl UnwindSafe for LimitsProfile
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.