Trait tokio_cron_scheduler::ToCode
source · [−]pub trait ToCode<T> where
T: Send, {
fn init(
&mut self,
context: &Context
) -> Pin<Box<dyn Future<Output = Result<(), JobSchedulerError>> + Send>>;
fn get(&mut self, uuid: Uuid) -> PinnedGetFuture<T>;
}