Struct futures::future::SharedError[][src]

pub struct SharedError<E> { /* fields omitted */ }

A wrapped error of the original future that is cloneable and implements Deref for ease of use.

Trait Implementations

impl<E: Clone> Clone for SharedError<E>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E: Debug> Debug for SharedError<E>
[src]

Formats the value using the given formatter. Read more

impl<E> Deref for SharedError<E>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<E> Display for SharedError<E> where
    E: Display
[src]

Formats the value using the given formatter. Read more

impl<E> Error for SharedError<E> where
    E: Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl<E> Send for SharedError<E> where
    E: Send + Sync

impl<E> Sync for SharedError<E> where
    E: Send + Sync