[−][src]Struct stdweb::web::error::InvalidStateError
Occurs when an object is in an invalid state.
Trait Implementations
impl JsSerialize for InvalidStateError
[src]
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]
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]
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]
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]
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]
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]
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]
impl InstanceOf for InvalidStateError
[src]
fn instance_of(reference: &Reference) -> bool
[src]
impl ReferenceType for InvalidStateError
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[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 Clone for InvalidStateError
[src]
fn clone(&self) -> InvalidStateError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<Reference> for InvalidStateError
[src]
impl From<InvalidStateError> for Error
[src]
fn from(value: InvalidStateError) -> Self
[src]
impl From<InvalidStateError> for DomException
[src]
fn from(value: InvalidStateError) -> Self
[src]
impl From<InvalidStateError> for Reference
[src]
fn from(value: InvalidStateError) -> Self
[src]
impl Debug for InvalidStateError
[src]
impl Display for InvalidStateError
[src]
impl Error for InvalidStateError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl Unpin for InvalidStateError
impl Send for InvalidStateError
impl Sync for InvalidStateError
impl UnwindSafe for InvalidStateError
impl RefUnwindSafe for InvalidStateError
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,