pub struct TooManyPlans {
pub limit: usize,
}Expand description
Registration refused: the process has compiled more parser plans than the arena admits.
This is a compile-time registration bound, not a language limit — one plan
per read/parse expression per compile. Reaching it means something is
recompiling in a loop, and saying so beats wrapping the index.
Fields§
§limit: usizeThe bound that was hit.
Trait Implementations§
Source§impl Clone for TooManyPlans
impl Clone for TooManyPlans
Source§fn clone(&self) -> TooManyPlans
fn clone(&self) -> TooManyPlans
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 TooManyPlans
Source§impl Debug for TooManyPlans
impl Debug for TooManyPlans
Source§impl Display for TooManyPlans
impl Display for TooManyPlans
impl Eq for TooManyPlans
Source§impl Error for TooManyPlans
impl Error for TooManyPlans
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for TooManyPlans
impl PartialEq for TooManyPlans
impl StructuralPartialEq for TooManyPlans
Auto Trait Implementations§
impl Freeze for TooManyPlans
impl RefUnwindSafe for TooManyPlans
impl Send for TooManyPlans
impl Sync for TooManyPlans
impl Unpin for TooManyPlans
impl UnsafeUnpin for TooManyPlans
impl UnwindSafe for TooManyPlans
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