Skip to main content

Executor

Trait Executor 

Source
pub trait Executor {
    type Command: Command;
    type Error: Debug;
}
Expand description

A base trait for all executors

Required Associated Types§

Source

type Command: Command

The command type used by this executor

Source

type Error: Debug

An error type for executor specific errors

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§