pub trait Prepare<C: 'static>: 'static {
type Effect: 'static;
type Error: StdError + 'static;
type Future: IntoFuture<Output = Result<Self::Effect, Self::Error>> + 'static;
// Required method
fn prepare(self, config: Arc<C>) -> Self::Future;
}
Expand description
Prepare Task witch may return any kind of effect