use Display;
use Future;
/// A trait for using a batch of values to execute some operation, such
/// as a bulk insertion in a datastore. An `Executor` will be given an
/// array of values and should handle each value, then return a result for
/// each. Implementing `Executor` will allow operations to be batched by
/// using a [`BatchExecutor`](crate::BatchExecutor). See the [`BatchExecutor`](crate::BatchExecutor)
/// docs for details about batching and error semantics.