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

Interface that can handle requests to push job for workers

Required Methods§

source

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

push the same work package for all workers (payload: json of pow-specific set of work specification)

Implementors§