pub enum ErrorCategory {
Parse,
Type,
Semantic,
Io,
Transpile,
Internal,
}Expand description
Category of the error for the error[category] display.
Variants§
Parse
Parse/syntax error
Type
Type error
Semantic
Semantic error
Io
I/O error
Transpile
Transpilation error
Internal
Internal error
Trait Implementations§
Source§impl Clone for ErrorCategory
impl Clone for ErrorCategory
impl Copy for ErrorCategory
Source§impl Debug for ErrorCategory
impl Debug for ErrorCategory
Source§impl Display for ErrorCategory
impl Display for ErrorCategory
impl Eq for ErrorCategory
Source§impl PartialEq for ErrorCategory
impl PartialEq for ErrorCategory
impl StructuralPartialEq for ErrorCategory
Auto Trait Implementations§
impl Forget for ErrorCategory
impl Freeze for ErrorCategory
impl Move for ErrorCategory
impl RefUnwindSafe for ErrorCategory
impl Send for ErrorCategory
impl Sync for ErrorCategory
impl Unpin for ErrorCategory
impl UnsafeUnpin for ErrorCategory
impl UnwindSafe for ErrorCategory
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