pub trait WorkerFactory<Req, Ctx, S> {
type Source;
type Service;
// Required method
fn build(self, service: S) -> Worker<Ready<Self::Service, Self::Source>>;
}
Expand description
Helper trait for building new Workers from WorkerBuilder