Struct Failed

pub struct Failed<K>(pub K, pub BoxError);

An error indicating that the service with a K-typed key failed with an error.

Fields

0: K
1: BoxError

Trait Implementations

impl<K> Display for Failed<K>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<K: Debug> Debug for Failed<K>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<K: Debug> Error for Failed<K>

fn source(&self) -> Option<&dyn Error + 'static>

Auto Trait Implementations

impl<K> !RefUnwindSafe for Failed<K>

impl<K> !UnwindSafe for Failed<K>

impl<K> Freeze for Failed<K> where K: Freeze,

impl<K> Send for Failed<K> where K: Send,

impl<K> Sync for Failed<K> where K: Sync,

impl<K> Unpin for Failed<K> where K: Unpin,

impl<K> UnsafeUnpin for Failed<K> where K: UnsafeUnpin,

Blanket Implementations

impl<T> Any for Failed<K> where T: 'static + ?Sized,

impl<T> Borrow<T> for Failed<K> where T: ?Sized,

impl<T> BorrowMut<T> for Failed<K> where T: ?Sized,

impl<T> From<T> for Failed<K>

impl<T> Instrument for Failed<K>

impl<T> ToString for Failed<K> where T: Display + ?Sized,

impl<T> WithSubscriber for Failed<K>

impl<T, U> Into<U> for Failed<K> where U: From<T>,

impl<T, U> TryFrom<U> for Failed<K> where U: Into<T>,

impl<T, U> TryInto<U> for Failed<K> where U: TryFrom<T>,