Struct tokio::prelude::future::SharedError
source · pub struct SharedError<E> { /* private fields */ }
Expand description
A wrapped error of the original future that is cloneable and implements Deref for ease of use.
Trait Implementations§
source§fn clone(&self) -> SharedError<E>
fn clone(&self) -> SharedError<E>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting