Enum xi_rpc::Error [] [src]

pub enum Error {
    IoError(Error),
    PeerDisconnect,
    RemoteError(Value),
    MalformedResponse,
}

Variants

An IO error occurred on the underlying communication channel.

The peer closed its connection.

The remote method returned an error.

The peer sent a response containing the id, but was malformed according to the json-rpc spec.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.