[−][src]Enum async_json_rpc::clients::Error
The error type for RPCs.
Variants
BatchDuplicateResponseId(Value)
The batch response contained a duplicate ID.
A connection error occured.
Batches can't be empty.
Json(Error)
An error occured during respnse JSON deserialization.
The response did not have the expected nonce.
The response had a jsonrpc field other than "2.0".
WrongBatchResponseId(Value)
The batch response contained an ID that didn't correspond to any request ID.
Too many responses returned in batch.
Trait Implementations
Auto Trait Implementations
impl<E> !RefUnwindSafe for Error<E>
impl<E> Send for Error<E> where
E: Send,
E: Send,
impl<E> Sync for Error<E> where
E: Sync,
E: Sync,
impl<E> Unpin for Error<E> where
E: Unpin,
E: Unpin,
impl<E> !UnwindSafe for Error<E>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,