solana_runtime::installed_scheduler_pool

Trait InstalledSchedulerPool

Source
pub trait InstalledSchedulerPool:
    Send
    + Sync
    + Debug {
    // Required methods
    fn take_resumed_scheduler(
        &self,
        context: SchedulingContext,
        result_with_timings: ResultWithTimings,
    ) -> InstalledSchedulerBox;
    fn register_timeout_listener(&self, timeout_listener: TimeoutListener);

    // Provided method
    fn take_scheduler(
        &self,
        context: SchedulingContext,
    ) -> InstalledSchedulerBox { ... }
}

Required Methods§

Provided Methods§

Implementors§