pub enum JsError {
MissingResult,
InvalidContext,
InvalidString,
InvalidHandler,
InvalidRequest,
}Expand description
Error type for JavaScript operations.
Variants§
Trait Implementations§
Source§impl From<JsError> for AidokuError
impl From<JsError> for AidokuError
Source§fn from(error: JsError) -> AidokuError
fn from(error: JsError) -> AidokuError
Converts to this type from the input type.
impl Eq for JsError
impl StructuralPartialEq for JsError
Auto Trait Implementations§
impl Freeze for JsError
impl RefUnwindSafe for JsError
impl Send for JsError
impl Sync for JsError
impl Unpin for JsError
impl UnwindSafe for JsError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.