Enum essrpc::RPCErrorKind [−][src]
pub enum RPCErrorKind {
SerializationError,
UnknownMethod,
TransportError,
TransportEOF,
IllegalState,
Other,
}
Expand description
Types of RPCError
Variants
Error caused by serialization or deserialization failure.
RPC server was asked to handle an unknown method.
Error in underlying transport. This code will only be generated by specific transport implementations, never by the ESSRPC core.
An EOF occurred while reading data in a transport. This code will only be generated by specific transport implementations, never by the ESSRPC core.
Something went horribly wrong in RPC internals
Other error.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more