Enum parity_rpc_client::client::RpcError
source · [−]pub enum RpcError {
WrongVersion(String),
ParseError(JsonError),
MalformedResponse(String),
JsonRpc(JsonRpcError),
WsError(WsError),
Canceled(Canceled),
UnexpectedId,
NoAuthCode,
}
Variants
WrongVersion(String)
ParseError(JsonError)
MalformedResponse(String)
JsonRpc(JsonRpcError)
WsError(WsError)
Canceled(Canceled)
UnexpectedId
NoAuthCode
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RpcError
impl Send for RpcError
impl Sync for RpcError
impl Unpin for RpcError
impl !UnwindSafe for RpcError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more