pub enum Error<'a> {
InterpreterError(InterpreterErr),
ParseError(ParseError<'a>),
}Variants§
InterpreterError(InterpreterErr)
ParseError(ParseError<'a>)
Implementations§
Trait Implementations§
Source§impl<'a> From<InterpreterErr> for Error<'a>
impl<'a> From<InterpreterErr> for Error<'a>
Source§fn from(e: InterpreterErr) -> Self
fn from(e: InterpreterErr) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ParseError<'a>> for Error<'a>
impl<'a> From<ParseError<'a>> for Error<'a>
Source§fn from(e: ParseError<'a>) -> Self
fn from(e: ParseError<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Error<'a>
impl<'a> !UnwindSafe for Error<'a>
impl<'a> Freeze for Error<'a>
impl<'a> Send for Error<'a>
impl<'a> Sync for Error<'a>
impl<'a> Unpin for Error<'a>
impl<'a> UnsafeUnpin for Error<'a>
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