pub struct Error {
pub _e: ErrType,
}Fields§
§_e: ErrTypeTrait Implementations§
Source§impl From<Error> for Error
impl From<Error> for Error
Source§fn from(v: TonicError) -> Error
fn from(v: TonicError) -> Error
Converts to this type from the input type.
Source§impl From<InvalidMetadataValue> for Error
impl From<InvalidMetadataValue> for Error
Source§fn from(v: InvalidMetadataValue) -> Error
fn from(v: InvalidMetadataValue) -> Error
Converts to this type from the input type.
Source§impl From<ParserError> for Error
impl From<ParserError> for Error
Source§fn from(v: ParserError) -> Error
fn from(v: ParserError) -> Error
Converts to this type from the input type.
Source§impl From<Status> for Error
impl From<Status> for Error
Source§fn from(v: TonicStatus) -> Error
fn from(v: TonicStatus) -> Error
Converts to this type from the input type.
Source§impl From<SystemTimeError> for Error
impl From<SystemTimeError> for Error
Source§fn from(v: SystemTimeError) -> Error
fn from(v: SystemTimeError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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> 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