Struct stdweb::web::error::InvalidStateError
[−]
[src]
pub struct InvalidStateError(_);
Occurs when an object is in an invalid state.
Trait Implementations
impl Clone for InvalidStateError
[src]
fn clone(&self) -> InvalidStateError
[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 InvalidStateError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<InvalidStateError> for Error
[src]
fn from(value: InvalidStateError) -> Self
[src]
Performs the conversion.
impl TryFrom<Error> for InvalidStateError
[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 From<InvalidStateError> for DomException
[src]
fn from(value: InvalidStateError) -> Self
[src]
Performs the conversion.
impl TryFrom<DomException> for InvalidStateError
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: DomException) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl AsRef<Reference> for InvalidStateError
[src]
impl ReferenceType for InvalidStateError
[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 From<InvalidStateError> for Reference
[src]
fn from(value: InvalidStateError) -> Self
[src]
Performs the conversion.
impl TryFrom<InvalidStateError> for Reference
[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: InvalidStateError) -> Result<Self, Self::Error>
[src]
Performs the conversion.
impl TryFrom<Reference> for InvalidStateError
[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 InvalidStateError
[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 InvalidStateError
[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 InvalidStateError
[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 InvalidStateError
[src]
impl IError for InvalidStateError
[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 InvalidStateError
[src]
impl InstanceOf for InvalidStateError
[src]
fn instance_of(reference: &Reference) -> bool
[src]
Checks whenever a given Reference if of type Self
.
impl Display for InvalidStateError
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more