pub enum ErrorKind {
Syntax,
Type,
Reference,
Range,
JsInternal,
Internal,
Io,
Unsupported,
}Variants§
Syntax
Type
Reference
Range
JsInternal
A JavaScript-visible QuickJS InternalError, distinct from an engine
invariant or implementation fault.
Internal
Io
Unsupported
A conformance decision which cannot yet be made because compilation reached the current implementation frontier.
This is deliberately not a JavaScript-visible native error kind. Public compiler and runtime APIs preserve this provenance so ordinary callers and conformance tooling cannot mistake an implementation gap for a conforming early error.
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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