Enum muxrpc::RpcError [] [src]

pub enum RpcError {
    IoError(Error),
    InvalidData(SerdeError),
    NotJson,
}

An error that can be emitted during the rpc process.

Variants

An io-error that was emitted by the underlying transports or the underlying packet-stream.

Received a packet containing invalid data. This error is non-fatal.

Got a packet without the json type. This error is non-fatal.

Trait Implementations

impl Debug for RpcError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for RpcError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for RpcError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<Error> for RpcError
[src]

[src]

Performs the conversion.

impl From<SerdeError> for RpcError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for RpcError

impl Sync for RpcError