pub enum ParseStrictError {
Config(SyntaxConfigError),
Diagnostic(Diagnostic),
}Expand description
The error returned by SyntaxOptions::parse_strict.
Variants§
Config(SyntaxConfigError)
The options themselves were contradictory.
Diagnostic(Diagnostic)
An error-severity diagnostic was promoted to a hard failure.
Trait Implementations§
Source§impl Clone for ParseStrictError
impl Clone for ParseStrictError
Source§fn clone(&self) -> ParseStrictError
fn clone(&self) -> ParseStrictError
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 ParseStrictError
impl Debug for ParseStrictError
impl Eq for ParseStrictError
Source§impl PartialEq for ParseStrictError
impl PartialEq for ParseStrictError
Source§fn eq(&self, other: &ParseStrictError) -> bool
fn eq(&self, other: &ParseStrictError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParseStrictError
Auto Trait Implementations§
impl Freeze for ParseStrictError
impl RefUnwindSafe for ParseStrictError
impl Send for ParseStrictError
impl Sync for ParseStrictError
impl Unpin for ParseStrictError
impl UnsafeUnpin for ParseStrictError
impl UnwindSafe for ParseStrictError
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