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]
impl Clone for InvalidStateError
fn clone(&self) -> InvalidStateError
[src]
fn clone(&self) -> InvalidStateError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for InvalidStateError
[src]
impl Debug for InvalidStateError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<InvalidStateError> for Error
[src]
impl From<InvalidStateError> for Error
fn from(value: InvalidStateError) -> Self
[src]
fn from(value: InvalidStateError) -> Self
Performs the conversion.
impl TryFrom<Error> for InvalidStateError
[src]
impl TryFrom<Error> for InvalidStateError
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Error) -> Result<Self, Self::Error>
[src]
fn try_from(value: Error) -> Result<Self, Self::Error>
Performs the conversion.
impl From<InvalidStateError> for DomException
[src]
impl From<InvalidStateError> for DomException
fn from(value: InvalidStateError) -> Self
[src]
fn from(value: InvalidStateError) -> Self
Performs the conversion.
impl TryFrom<DomException> for InvalidStateError
[src]
impl TryFrom<DomException> for InvalidStateError
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: DomException) -> Result<Self, Self::Error>
[src]
fn try_from(value: DomException) -> Result<Self, Self::Error>
Performs the conversion.
impl AsRef<Reference> for InvalidStateError
[src]
impl AsRef<Reference> for InvalidStateError
impl ReferenceType for InvalidStateError
[src]
impl ReferenceType for InvalidStateError
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[src]
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! Read more
impl From<InvalidStateError> for Reference
[src]
impl From<InvalidStateError> for Reference
fn from(value: InvalidStateError) -> Self
[src]
fn from(value: InvalidStateError) -> Self
Performs the conversion.
impl TryFrom<InvalidStateError> for Reference
[src]
impl TryFrom<InvalidStateError> for Reference
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: InvalidStateError) -> Result<Self, Self::Error>
[src]
fn try_from(value: InvalidStateError) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<Reference> for InvalidStateError
[src]
impl TryFrom<Reference> for InvalidStateError
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
fn try_from(reference: Reference) -> Result<Self, Self::Error>
Performs the conversion.
impl<'_r> TryFrom<&'_r Reference> for InvalidStateError
[src]
impl<'_r> TryFrom<&'_r Reference> for InvalidStateError
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
Performs the conversion.
impl TryFrom<Value> for InvalidStateError
[src]
impl TryFrom<Value> for InvalidStateError
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>
[src]
fn try_from(value: Value) -> Result<Self, Self::Error>
Performs the conversion.
impl<'_r> TryFrom<&'_r Value> for InvalidStateError
[src]
impl<'_r> TryFrom<&'_r Value> for InvalidStateError
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
fn try_from(value: &Value) -> Result<Self, Self::Error>
Performs the conversion.
impl JsSerialize for InvalidStateError
[src]
impl JsSerialize for InvalidStateError
impl IError for InvalidStateError
[src]
impl IError for InvalidStateError
fn message(&self) -> String
[src]
fn message(&self) -> String
Returns a human-readable description of the error. Read more
fn name(&self) -> String
[src]
fn name(&self) -> String
Returns a name specifiying the type of error. Read more
impl IDomException for InvalidStateError
[src]
impl IDomException for InvalidStateError
impl InstanceOf for InvalidStateError
[src]
impl InstanceOf for InvalidStateError
fn instance_of(reference: &Reference) -> bool
[src]
fn instance_of(reference: &Reference) -> bool
Checks whenever a given Reference if of type Self
.
impl Display for InvalidStateError
[src]
impl Display for InvalidStateError
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for InvalidStateError
[src]
impl Error for InvalidStateError
Auto Trait Implementations
impl Send for InvalidStateError
impl Send for InvalidStateError
impl Sync for InvalidStateError
impl Sync for InvalidStateError