Struct neon::handle::DowncastError
source · [−]Expand description
An error representing a failed downcast.
Trait Implementations
sourceimpl<F: Clone + Value, T: Clone + Value> Clone for DowncastError<F, T>
impl<F: Clone + Value, T: Clone + Value> Clone for DowncastError<F, T>
sourcefn clone(&self) -> DowncastError<F, T>
fn clone(&self) -> DowncastError<F, T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<F: Value, T: Value> Debug for DowncastError<F, T>
impl<F: Value, T: Value> Debug for DowncastError<F, T>
sourceimpl<F: Value, T: Value> Display for DowncastError<F, T>
impl<F: Value, T: Value> Display for DowncastError<F, T>
sourceimpl<F: Value, T: Value> Error for DowncastError<F, T>
impl<F: Value, T: Value> Error for DowncastError<F, T>
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<F: Ord + Value, T: Ord + Value> Ord for DowncastError<F, T>
impl<F: Ord + Value, T: Ord + Value> Ord for DowncastError<F, T>
sourceimpl<F: PartialEq + Value, T: PartialEq + Value> PartialEq<DowncastError<F, T>> for DowncastError<F, T>
impl<F: PartialEq + Value, T: PartialEq + Value> PartialEq<DowncastError<F, T>> for DowncastError<F, T>
sourcefn eq(&self, other: &DowncastError<F, T>) -> bool
fn eq(&self, other: &DowncastError<F, T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DowncastError<F, T>) -> bool
fn ne(&self, other: &DowncastError<F, T>) -> bool
This method tests for !=
.
sourceimpl<F: PartialOrd + Value, T: PartialOrd + Value> PartialOrd<DowncastError<F, T>> for DowncastError<F, T>
impl<F: PartialOrd + Value, T: PartialOrd + Value> PartialOrd<DowncastError<F, T>> for DowncastError<F, T>
sourcefn partial_cmp(&self, other: &DowncastError<F, T>) -> Option<Ordering>
fn partial_cmp(&self, other: &DowncastError<F, T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<F: Eq + Value, T: Eq + Value> Eq for DowncastError<F, T>
impl<F: Value, T: Value> StructuralEq for DowncastError<F, T>
impl<F: Value, T: Value> StructuralPartialEq for DowncastError<F, T>
Auto Trait Implementations
impl<F, T> RefUnwindSafe for DowncastError<F, T> where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<F, T> Send for DowncastError<F, T> where
F: Send,
T: Send,
impl<F, T> Sync for DowncastError<F, T> where
F: Sync,
T: Sync,
impl<F, T> Unpin for DowncastError<F, T> where
F: Unpin,
T: Unpin,
impl<F, T> UnwindSafe for DowncastError<F, T> where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more