pub enum Error<S> {
Io(Vec<(S, String)>),
Lex(Vec<Error<S>>),
Parse(Vec<Error<S>>),
}Expand description
Error occurring during loading of a single module.
Variants§
Io(Vec<(S, String)>)
input/output errors, for example when trying to load a module that does not exist
Lex(Vec<Error<S>>)
lex errors, for example when loading a module ($) (
Parse(Vec<Error<S>>)
parse errors, for example when loading a module (+) *
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Error<S>
impl<S> RefUnwindSafe for Error<S>where
S: RefUnwindSafe,
impl<S> Send for Error<S>where
S: Send,
impl<S> Sync for Error<S>where
S: Sync,
impl<S> Unpin for Error<S>where
S: Unpin,
impl<S> UnwindSafe for Error<S>where
S: UnwindSafe,
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