pub enum LoxError {
Parser(ParserError),
Runtime(RuntimeError),
IO(Error),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoxError
impl !RefUnwindSafe for LoxError
impl Send for LoxError
impl Sync for LoxError
impl Unpin for LoxError
impl !UnwindSafe for LoxError
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