Skip to main content

HasClientErrorAction

Trait HasClientErrorAction 

Source
pub trait HasClientErrorAction {
    // Required method
    fn client_action(&self) -> ClientErrorAction;
}
Expand description

An error that has a ClientErrorAction.

Required Methods§

Source

fn client_action(&self) -> ClientErrorAction

Return the action that an RPC client should take based on this error.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl HasClientErrorAction for AddrParseError

Source§

impl HasClientErrorAction for CfgAddrError

Source§

impl HasClientErrorAction for CfgPathError

Source§

impl HasClientErrorAction for Error

Implementors§