pub trait Executor<I: Invocation, V, B>: 'static {
    type Error;

    fn execute<F: Future<Output = ()> + 'static>(
        self,
        task: Task<I, V, B, F>
    ) -> Result<(), Self::Error>; }
Expand description

The executor used to run the code which applies log entries to the State.

Required Associated Types

Type of error yielded when a task cannot be executed.

Required Methods

Executes the given task.

Implementors