Enum tarpc::protocol::Error [] [src]

pub enum Error {
    Io(Arc<Error>),
    ConnectionBroken,
}

Client errors that can occur during rpc calls

Variants

Io(Arc<Error>)

An IO-related error

ConnectionBroken

The server hung up.

Trait Implementations

impl Clone for Error
[src]

fn clone(&self) -> Error

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<SerializeError> for Error
[src]

fn from(err: SerializeError) -> Error

Performs the conversion.

impl From<DeserializeError> for Error
[src]

fn from(err: DeserializeError) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.