Trait Runtime

Source
pub trait Runtime: 'static {
    type ScopedSpawner: Spawner<()> + FuncSpawner<(), SpawnHandle = <Self::ScopedSpawner as Spawner<()>>::SpawnHandle> + Blocker + Default + Send + Sync + 'static;
    type BlockingRunner: BlockingRunner;
}
Available on crate feature async only.
Expand description

Runtime trait for CEL asynchronous runtime.

Required Associated Types§

Source

type ScopedSpawner: Spawner<()> + FuncSpawner<(), SpawnHandle = <Self::ScopedSpawner as Spawner<()>>::SpawnHandle> + Blocker + Default + Send + Sync + 'static

Scoped spawner for CEL asynchronous runtime.

Source

type BlockingRunner: BlockingRunner

Blocking runner for CEL asynchronous runtime.

Implementors§