[−][src]Trait dynpool::SystemWork
A subset of System
that can perform work, but my not provide scale. Should
be implemented by the user or created by functions such as func_worker
.
Associated Types
type Data
Per-worker data. See System::Data
.
Required methods
fn init(&self, index: usize) -> Self::Data
Create a new worker. See System::init
.
fn work(&self, data: &mut Self::Data) -> Decision
Do a unit of work, and return scheduling information. See System::work
.