Struct minerva_dispatch::error::ConnectionSnafu
source · [−]struct ConnectionSnafu<__T0, __T1> {
consumer_name: __T0,
service_name: __T1,
}
Expand description
SNAFU context selector for the DispatchError::Connection
variant
Fields
consumer_name: __T0
service_name: __T1
Implementations
sourceimpl<__T0, __T1> ConnectionSnafu<__T0, __T1>
impl<__T0, __T1> ConnectionSnafu<__T0, __T1>
Trait Implementations
sourceimpl<__T0: Clone, __T1: Clone> Clone for ConnectionSnafu<__T0, __T1>
impl<__T0: Clone, __T1: Clone> Clone for ConnectionSnafu<__T0, __T1>
sourcefn clone(&self) -> ConnectionSnafu<__T0, __T1>
fn clone(&self) -> ConnectionSnafu<__T0, __T1>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<__T0: Debug, __T1: Debug> Debug for ConnectionSnafu<__T0, __T1>
impl<__T0: Debug, __T1: Debug> Debug for ConnectionSnafu<__T0, __T1>
sourceimpl<__T0, __T1> IntoError<DispatchError> for ConnectionSnafu<__T0, __T1>where
DispatchError: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<String>,
impl<__T0, __T1> IntoError<DispatchError> for ConnectionSnafu<__T0, __T1>where
DispatchError: Error + ErrorCompat,
__T0: Into<String>,
__T1: Into<String>,
type Source = NoneError
type Source = NoneError
The underlying error
sourcefn into_error(self, error: Self::Source) -> DispatchError
fn into_error(self, error: Self::Source) -> DispatchError
Combine the information to produce the error
impl<__T0: Copy, __T1: Copy> Copy for ConnectionSnafu<__T0, __T1>
Auto Trait Implementations
impl<__T0, __T1> RefUnwindSafe for ConnectionSnafu<__T0, __T1>where
__T0: RefUnwindSafe,
__T1: RefUnwindSafe,
impl<__T0, __T1> Send for ConnectionSnafu<__T0, __T1>where
__T0: Send,
__T1: Send,
impl<__T0, __T1> Sync for ConnectionSnafu<__T0, __T1>where
__T0: Sync,
__T1: Sync,
impl<__T0, __T1> Unpin for ConnectionSnafu<__T0, __T1>where
__T0: Unpin,
__T1: Unpin,
impl<__T0, __T1> UnwindSafe for ConnectionSnafu<__T0, __T1>where
__T0: UnwindSafe,
__T1: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
F: FnMut(T) -> U,
A: Array<Item = U>,
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request