pub enum InvokeError {
Transport(GestaltError),
Result(Box<InvokeResultError>),
}Expand description
Failure of a json_result method: the transport failed, or the decoded
result carried a payload failure.
Variants§
Transport(GestaltError)
The transport failed before a result decoded.
Result(Box<InvokeResultError>)
The decoded result carried a payload failure.
Trait Implementations§
Source§impl Debug for InvokeError
impl Debug for InvokeError
Source§impl Display for InvokeError
impl Display for InvokeError
Source§impl Error for InvokeError
impl Error for InvokeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<Box<InvokeResultError>> for InvokeError
impl From<Box<InvokeResultError>> for InvokeError
Source§fn from(source: Box<InvokeResultError>) -> Self
fn from(source: Box<InvokeResultError>) -> Self
Converts to this type from the input type.
Source§impl From<GestaltError> for InvokeError
impl From<GestaltError> for InvokeError
Source§fn from(source: GestaltError) -> Self
fn from(source: GestaltError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InvokeError
impl !UnwindSafe for InvokeError
impl Freeze for InvokeError
impl Send for InvokeError
impl Sync for InvokeError
impl Unpin for InvokeError
impl UnsafeUnpin for InvokeError
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> 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