Trait JobDispatcher

Source
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§