Enum rustc_tools::Error
source · pub enum Error<E> {
Parser(String),
Other(E),
}
Expand description
Error returned by the API. If the parser encounters a problem, it’ll always be Error::Parser
.
Error::Other
is for users.
Variants§
Auto Trait Implementations§
impl<E> DynSend for Error<E>where
E: DynSend,
impl<E> DynSync for Error<E>where
E: DynSync,
impl<E> Freeze for Error<E>where
E: Freeze,
impl<E> RefUnwindSafe for Error<E>where
E: RefUnwindSafe,
impl<E> Send for Error<E>where
E: Send,
impl<E> Sync for Error<E>where
E: Sync,
impl<E> Unpin for Error<E>where
E: Unpin,
impl<E> UnwindSafe for Error<E>where
E: 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