Enum muxrpc::RpcError
[−]
[src]
pub enum RpcError { IoError(Error), InvalidData(SerdeError), NotJson, }
An error that can be emitted during the rpc process.
Variants
IoError(Error)
An io-error that was emitted by the underlying transports or the underlying packet-stream.
InvalidData(SerdeError)
Received a packet containing invalid data. This error is non-fatal.
NotJson
Got a packet without the json type. This error is non-fatal.
Trait Implementations
impl Debug for RpcError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for RpcError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Error for RpcError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<Error> for RpcError
[src]
impl From<SerdeError> for RpcError
[src]
fn from(err: SerdeError) -> RpcError
[src]
Performs the conversion.