Enum ethers_providers::IpcError
source · pub enum IpcError {
JsonError(Error),
IoError(Error),
JsonRpcError(JsonRpcError),
ChannelError(String),
RequestCancelled(RecvError),
ServerExit,
}Expand description
Error thrown when sending or receiving an IPC message.
Variants
JsonError(Error)
Thrown if deserialization failed
IoError(Error)
std IO error forwarding.
JsonRpcError(JsonRpcError)
Thrown if the response could not be parsed
ChannelError(String)
RequestCancelled(RecvError)
ServerExit
Trait Implementations
sourceimpl Error for IpcError
impl Error for IpcError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<IpcError> for ProviderError
impl From<IpcError> for ProviderError
Auto Trait Implementations
impl !RefUnwindSafe for IpcError
impl Send for IpcError
impl Sync for IpcError
impl Unpin for IpcError
impl !UnwindSafe for IpcError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more