pub trait JobDispatcher: Send + Sync {
    // Required method
    fn submit(&self, payload: Vec<String>) -> Result<(), Error>;
}
Expand description

Interface that can provide pow/blockchain-specific responses for the clients

Required Methods§

source

fn submit(&self, payload: Vec<String>) -> Result<(), Error>

Implementors§