Enum cache::error::TryInnerError
source · pub enum TryInnerError<'a, E> {
CacheError(Arc<Error>),
GeneratorError(&'a E),
}
Expand description
The error type returned by CacheHandle::try_inner
.
Variants§
CacheError(Arc<Error>)
An error thrown by the cache.
GeneratorError(&'a E)
An error thrown by the generator.
Trait Implementations§
source§impl<'a, E> From<&'a E> for TryInnerError<'a, E>
impl<'a, E> From<&'a E> for TryInnerError<'a, E>
Auto Trait Implementations§
impl<'a, E> !RefUnwindSafe for TryInnerError<'a, E>
impl<'a, E> Send for TryInnerError<'a, E>where
E: Sync,
impl<'a, E> Sync for TryInnerError<'a, E>where
E: Sync,
impl<'a, E> Unpin for TryInnerError<'a, E>
impl<'a, E> !UnwindSafe for TryInnerError<'a, E>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request