[−][src]Struct stdweb::web::error::TypeError
Used to indicate an unsuccessful operation when none of the other NativeError objects are an appropriate indication of the failure cause.
Trait Implementations
impl JsSerialize for TypeError[src]
impl TryFrom<Error> for TypeError[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<TypeError> for Reference[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: TypeError) -> Result<Self, Self::Error>[src]
impl TryFrom<Reference> for TypeError[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 TypeError[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 TypeError[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 TypeError[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 TypeError[src]
fn instance_of(reference: &Reference) -> bool[src]
impl ReferenceType for TypeError[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self[src]
impl IError for TypeError[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 Clone for TypeError[src]
fn clone(&self) -> TypeError[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl AsRef<Reference> for TypeError[src]
impl From<TypeError> for Error[src]
impl From<TypeError> for Reference[src]
impl Debug for TypeError[src]
impl Display for TypeError[src]
impl Error for TypeError[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 Sync for TypeError
impl Unpin for TypeError
impl Send for TypeError
impl UnwindSafe for TypeError
impl RefUnwindSafe for TypeError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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,