Struct tower::ready_cache::error::Failed
source · pub struct Failed<K>(pub K, pub BoxError);Available on crate feature
ready-cache only.Expand description
An error indicating that the service with a K-typed key failed with an
error.
Tuple Fields§
§0: K§1: BoxErrorTrait Implementations§
source§impl<K: Debug> Error for Failed<K>
impl<K: Debug> Error for Failed<K>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<K> Freeze for Failed<K>where
K: Freeze,
impl<K> !RefUnwindSafe for Failed<K>
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> !UnwindSafe for Failed<K>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.