pub struct DomException(/* private fields */);
Expand description
A reference to a JavaScript DOMException
object.
Trait Implementations§
Source§impl AsRef<Reference> for DomException
impl AsRef<Reference> for DomException
Source§impl Clone for DomException
impl Clone for DomException
Source§fn clone(&self) -> DomException
fn clone(&self) -> DomException
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 DomException
impl Debug for DomException
Source§impl Display for DomException
impl Display for DomException
Source§impl Error for DomException
impl Error for DomException
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl From<AbortError> for DomException
impl From<AbortError> for DomException
Source§fn from(value: AbortError) -> Self
fn from(value: AbortError) -> Self
Converts to this type from the input type.
Source§impl From<DomException> for Error
impl From<DomException> for Error
Source§fn from(value: DomException) -> Self
fn from(value: DomException) -> Self
Converts to this type from the input type.
Source§impl From<DomException> for Reference
impl From<DomException> for Reference
Source§fn from(value: DomException) -> Self
fn from(value: DomException) -> Self
Converts to this type from the input type.
Source§impl From<HierarchyRequestError> for DomException
impl From<HierarchyRequestError> for DomException
Source§fn from(value: HierarchyRequestError) -> Self
fn from(value: HierarchyRequestError) -> Self
Converts to this type from the input type.
Source§impl From<IndexSizeError> for DomException
impl From<IndexSizeError> for DomException
Source§fn from(value: IndexSizeError) -> Self
fn from(value: IndexSizeError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidAccessError> for DomException
impl From<InvalidAccessError> for DomException
Source§fn from(value: InvalidAccessError) -> Self
fn from(value: InvalidAccessError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidCharacterError> for DomException
impl From<InvalidCharacterError> for DomException
Source§fn from(value: InvalidCharacterError) -> Self
fn from(value: InvalidCharacterError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidStateError> for DomException
impl From<InvalidStateError> for DomException
Source§fn from(value: InvalidStateError) -> Self
fn from(value: InvalidStateError) -> Self
Converts to this type from the input type.
Source§impl From<NotFoundError> for DomException
impl From<NotFoundError> for DomException
Source§fn from(value: NotFoundError) -> Self
fn from(value: NotFoundError) -> Self
Converts to this type from the input type.
Source§impl From<NotSupportedError> for DomException
impl From<NotSupportedError> for DomException
Source§fn from(value: NotSupportedError) -> Self
fn from(value: NotSupportedError) -> Self
Converts to this type from the input type.
Source§impl From<SecurityError> for DomException
impl From<SecurityError> for DomException
Source§fn from(value: SecurityError) -> Self
fn from(value: SecurityError) -> Self
Converts to this type from the input type.
Source§impl From<SyntaxError> for DomException
impl From<SyntaxError> for DomException
Source§fn from(value: SyntaxError) -> Self
fn from(value: SyntaxError) -> Self
Converts to this type from the input type.
Source§impl IError for DomException
impl IError for DomException
Source§impl InstanceOf for DomException
impl InstanceOf for DomException
Source§impl PartialEq for DomException
impl PartialEq for DomException
Source§impl ReferenceType for DomException
impl ReferenceType for DomException
Source§unsafe fn from_reference_unchecked(reference: Reference) -> Self
unsafe fn from_reference_unchecked(reference: Reference) -> Self
Converts a given reference into a concrete reference-like wrapper.
Doesn’t do any type checking; highly unsafe to use!
Source§impl<'_r> TryFrom<&'_r Reference> for DomException
impl<'_r> TryFrom<&'_r Reference> for DomException
Source§impl<'_r> TryFrom<&'_r Value> for DomException
impl<'_r> TryFrom<&'_r Value> for DomException
Source§impl TryFrom<DomException> for AbortError
impl TryFrom<DomException> for AbortError
Source§impl TryFrom<DomException> for HierarchyRequestError
impl TryFrom<DomException> for HierarchyRequestError
Source§impl TryFrom<DomException> for IndexSizeError
impl TryFrom<DomException> for IndexSizeError
Source§impl TryFrom<DomException> for InvalidAccessError
impl TryFrom<DomException> for InvalidAccessError
Source§impl TryFrom<DomException> for InvalidCharacterError
impl TryFrom<DomException> for InvalidCharacterError
Source§impl TryFrom<DomException> for InvalidStateError
impl TryFrom<DomException> for InvalidStateError
Source§impl TryFrom<DomException> for NotFoundError
impl TryFrom<DomException> for NotFoundError
Source§impl TryFrom<DomException> for NotSupportedError
impl TryFrom<DomException> for NotSupportedError
Source§impl TryFrom<DomException> for Reference
impl TryFrom<DomException> for Reference
Source§impl TryFrom<DomException> for SecurityError
impl TryFrom<DomException> for SecurityError
Source§impl TryFrom<DomException> for SyntaxError
impl TryFrom<DomException> for SyntaxError
Source§impl TryFrom<Error> for DomException
impl TryFrom<Error> for DomException
Source§impl TryFrom<Reference> for DomException
impl TryFrom<Reference> for DomException
Source§impl TryFrom<Value> for DomException
impl TryFrom<Value> for DomException
impl Eq for DomException
impl IDomException for DomException
impl JsSerialize for DomException
impl StructuralPartialEq for DomException
Auto Trait Implementations§
impl Freeze for DomException
impl RefUnwindSafe for DomException
impl Send for DomException
impl Sync for DomException
impl Unpin for DomException
impl UnwindSafe for DomException
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