pub fn is_rpc(&self) -> bool {
        match self {
            RpcError::RpcError(_) => true,
            _ => false,
        }
    }
/// Return True if the `RpcError` contains an RPC Error.
Return True if the `RpcError` contains an RPC Error.
Return True if the ` RpcError ` contains an RPC Error .
pub fn is_rpc(&self) -> bool {
        match self {
            RpcError::RpcError(_) => true,
            _ => false,
        }
    }
pub fn is_rpc ( & self ) -> bool { match self { RpcError :: RpcError ( _ ) => true , _ => false , } }
Return True if the `RpcError` contains an RPC Error.
Return True if the ` RpcError ` contains an RPC Error .
&self
&self