1use crate::client::Client; 2 3pub trait CallableCommand { 4 type Response; 5 fn call(&self, client: &Client) -> Result<Self::Response, jsonrpc::Error>; 6}