Trait RuntimeClient

Source
pub trait RuntimeClient: Sync + Send {
    // Required methods
    fn init(&self);
    fn send_command(&self, command: Command) -> Response;
}
Expand description

runtime_clients must implement this trait

Required Methods§

Source

fn init(&self)

Called at init to initalize the client

Source

fn send_command(&self, command: Command) -> Response

Called to send the next command to the runtime_client and get the response

Implementors§