Struct stdweb::web::error::DomException
[−]
[src]
pub struct DomException(_);
A reference to a JavaScript DOMException object.
Trait Implementations
impl Clone for DomException[src]
fn clone(&self) -> DomException[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for DomException[src]
impl PartialEq for DomException[src]
fn eq(&self, __arg_0: &DomException) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DomException) -> bool[src]
This method tests for !=.
impl Eq for DomException[src]
impl TryFrom<Error> for DomException[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl InstanceOf for DomException[src]
fn instance_of(reference: &Reference) -> bool[src]
Checks whenever a given Reference if of type Self.
impl AsRef<Reference> for DomException[src]
impl ReferenceType for DomException[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self[src]
Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more
impl TryFrom<Reference> for DomException[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl<'_r> TryFrom<&'_r Reference> for DomException[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl TryFrom<Value> for DomException[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl<'_r> TryFrom<&'_r Value> for DomException[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl JsSerialize for DomException[src]
impl IError for DomException[src]
fn message(&self) -> String[src]
Returns a human-readable description of the error. Read more
fn name(&self) -> String[src]
Returns a name specifiying the type of error. Read more
impl IDomException for DomException[src]
impl Display for DomException[src]
fn fmt(&self, formatter: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Error for DomException[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
The lower-level cause of this error, if any. Read more
impl From<HierarchyRequestError> for DomException[src]
fn from(value: HierarchyRequestError) -> Self[src]
Performs the conversion.
impl From<InvalidAccessError> for DomException[src]
fn from(value: InvalidAccessError) -> Self[src]
Performs the conversion.
impl From<NotFoundError> for DomException[src]
fn from(value: NotFoundError) -> Self[src]
Performs the conversion.
impl From<SecurityError> for DomException[src]
fn from(value: SecurityError) -> Self[src]
Performs the conversion.
impl From<SyntaxError> for DomException[src]
fn from(value: SyntaxError) -> Self[src]
Performs the conversion.