pub enum MessageConversionError {
    NilError {
        source: MessageNilError,
    },
    MalformedError {
        source: MessageMalformedError,
    },
}Variants§
Trait Implementations§
Source§impl Debug for MessageConversionError
 
impl Debug for MessageConversionError
Source§impl Display for MessageConversionError
 
impl Display for MessageConversionError
Source§impl Error for MessageConversionError
 
impl Error for MessageConversionError
Source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
 
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for MessageConversionError
 
impl ErrorCompat for MessageConversionError
Source§fn iter_chain(&self) -> ChainCompat<'_>where
    Self: AsErrorSource,
 
fn iter_chain(&self) -> ChainCompat<'_>where
    Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to 
Error::source. Read moreAuto Trait Implementations§
impl Freeze for MessageConversionError
impl RefUnwindSafe for MessageConversionError
impl Send for MessageConversionError
impl Sync for MessageConversionError
impl Unpin for MessageConversionError
impl UnwindSafe for MessageConversionError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
    T: Error + 'static,
 
impl<T> AsErrorSource for Twhere
    T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
 
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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> 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