Skip to main content

ExecutorContext

Trait ExecutorContext 

Source
pub trait ExecutorContext:
    Send
    + Sync
    + Sized
    + 'static {
    type App: ExecutorApp<Self>;
    type ConfigPin;

Show 13 methods // Required methods fn bind_status_context(self: &Arc<Self>); fn install_callgraph_executor(&self, executor: RootMaintenanceExecutor); fn app(&self) -> Arc<Self::App> ⓘ; fn storage_dir(&self) -> PathBuf; fn teardown_deleted_root(&self); fn subc_unbound_quiesced(&self) -> bool; fn subc_lifecycle_admission(&self) -> SubcLifecycleAdmission; fn run_if_subc_bound_generation<R>( &self, generation: u64, run: impl FnOnce() -> R, ) -> Option<R>; fn configure_generation(&self) -> u64; fn begin_configure_ack_phase(&self, phase: &'static str); fn configure_ack_phase_snapshot(&self) -> String; fn configure_tail_stage_snapshot(&self) -> Option<String>; fn pin_config(&self) -> Self::ConfigPin;
}
Expand description

The context operations already performed at scheduler admission and execution. Associated types let each runtime define the application handle and config-pin guard it uses.

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§