Enum tarpc::Error [−][src]
All errors that can occur during the use of tarpc.
Variants
Io(Error)
Any IO error.
ResponseDeserialize(Error)
Error deserializing the server response.
Typically this indicates a faulty implementation of serde::Serialize
or
serde::Deserialize
.
RequestDeserialize(String)
Error deserializing the client request.
Typically this indicates a faulty implementation of serde::Serialize
or
serde::Deserialize
.
App(E)
The server was unable to reply to the rpc for some reason.
This is a service-specific error. Its type is individually specified in the
service!
macro for each rpc.
Trait Implementations
impl<E: Debug> Debug for Error<E>
[src]
impl<E: Debug> Debug for Error<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, E: StdError + Deserialize<'a> + Serialize + Send + 'static> Display for Error<E>
[src]
impl<'a, E: StdError + Deserialize<'a> + Serialize + Send + 'static> Display for Error<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, E: StdError + Deserialize<'a> + Serialize + Send + 'static> StdError for Error<E>
[src]
impl<'a, E: StdError + Deserialize<'a> + Serialize + Send + 'static> StdError for Error<E>
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&StdError>
[src]
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl<E> From<Error> for Error<E>
[src]
impl<E> From<Error> for Error<E>