pub struct JsErrorData { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for JsErrorData
impl Clone for JsErrorData
Source§fn clone(&self) -> JsErrorData
fn clone(&self) -> JsErrorData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JsErrorData
impl Debug for JsErrorData
Source§impl Display for JsErrorData
impl Display for JsErrorData
Source§impl Error for JsErrorData
impl Error for JsErrorData
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<JsError> for JsErrorData
impl From<JsError> for JsErrorData
Source§impl From<JsErrorData> for JsValue
impl From<JsErrorData> for JsValue
Source§fn from(error: JsErrorData) -> Self
fn from(error: JsErrorData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsErrorData
impl RefUnwindSafe for JsErrorData
impl Send for JsErrorData
impl Sync for JsErrorData
impl Unpin for JsErrorData
impl UnwindSafe for JsErrorData
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