pub type DynExecutor = dyn SomeExecutor<ExecutorNotifier = Infallible>;Expand description
The appropriate type for a dynamically-dispatched executor.
This type alias provides a convenient way to work with trait objects for executors when the concrete type isn’t known at compile time.
§Example
fn store_executor(exec: Box<DynExecutor>) {
// Can store and use the executor dynamically
}