[−][src]Enum ducc::ErrorKind
Variants
A Rust value could not be converted to a JavaScript value.
Fields of ToJsConversionError
A JavaScript value could not be converted to the expected Rust type.
Fields of FromJsConversionError
An error that occurred within the scripting environment.
Fields of RuntimeError
code: RuntimeErrorCode
A code representing what type of error occurred.
name: String
A string representation of the type of error.
A mutable callback has triggered JavaScript code that has called the same mutable callback again.
This is an error because a mutable callback can only be borrowed mutably once.
ExternalError(Box<dyn RuntimeError + 'static>)
A custom error that occurs during runtime.
This can be used for returning user-defined errors from callbacks.
An error specifying the variable that was called as a function was not a function.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl !Send for ErrorKind
impl !Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,