Enum xi_rpc::Error
[−]
[src]
pub enum Error { IoError(Error), PeerDisconnect, RemoteError(Value), MalformedResponse, }
Variants
IoError(Error)
An IO error occurred on the underlying communication channel.
PeerDisconnect
The peer closed its connection.
RemoteError(Value)
The remote method returned an error.
MalformedResponse
The peer sent a response containing the id, but was malformed according to the json-rpc spec.