Trait QueryCreator

Source
pub trait QueryCreator<Method: RpcMethod>
where Method::Error: Display + Debug + Sync + Send,
{ type RpcReference; // Required methods fn create_query( &self, network: &NetworkConfig, reference: Self::RpcReference, ) -> Result<Method, QueryError<Method>>; fn is_critical_error(&self, error: &JsonRpcError<Method::Error>) -> bool; }

Required Associated Types§

Required Methods§

Source

fn create_query( &self, network: &NetworkConfig, reference: Self::RpcReference, ) -> Result<Method, QueryError<Method>>

Source

fn is_critical_error(&self, error: &JsonRpcError<Method::Error>) -> bool

Implementors§