pub enum ResolvedParseError {
Preprocess(PreprocessError),
Parse(ParserError),
}Expand description
One parser failure after source resolution and preprocessing.
Variants§
Preprocess(PreprocessError)
Source loading or preprocessing failed.
Parse(ParserError)
Parsing failed after preprocessing.
Trait Implementations§
Source§impl Debug for ResolvedParseError
impl Debug for ResolvedParseError
Source§impl Display for ResolvedParseError
impl Display for ResolvedParseError
Source§impl Error for ResolvedParseError
impl Error for ResolvedParseError
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 From<ParserError> for ResolvedParseError
impl From<ParserError> for ResolvedParseError
Source§fn from(value: ParserError) -> Self
fn from(value: ParserError) -> Self
Converts to this type from the input type.
Source§impl From<PreprocessError> for ResolvedParseError
impl From<PreprocessError> for ResolvedParseError
Source§fn from(value: PreprocessError) -> Self
fn from(value: PreprocessError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResolvedParseError
impl RefUnwindSafe for ResolvedParseError
impl Send for ResolvedParseError
impl Sync for ResolvedParseError
impl Unpin for ResolvedParseError
impl UnsafeUnpin for ResolvedParseError
impl UnwindSafe for ResolvedParseError
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