Enum jsonrpsee_http_client::Error [−][src]
pub enum Error {}Show variants
TransportError(Box<dyn Error + 'static + Sync + Send, Global>), Request(JsonRpcErrorAlloc), Internal(SendError), InvalidResponse(Mismatch<String>), RestartNeeded(String), ParseError(Error), InvalidSubscriptionId, InvalidRequestId, DuplicateRequestId, MethodAlreadyRegistered(String), SubscriptionNameConflict(String), RequestTimeout, MaxSlotsExceeded, Custom(String),
Error type.
Variants
Networking error or error on the low-level protocol layer.
Request(JsonRpcErrorAlloc)
JSON-RPC request error.
Frontend/backend channel error.
Invalid response,
RestartNeeded(String)
The background task has been terminated.
ParseError(Error)
Failed to parse the data that the server sent back to us.
Invalid subscription ID.
Invalid request ID.
A request with the same request ID has already been registered.
MethodAlreadyRegistered(String)
Method was already registered.
SubscriptionNameConflict(String)
Subscribe and unsubscribe method names are the same.
Request timeout
Configured max number of request slots exceeded.
Custom(String)
Custom error.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]