pub trait Partitionable<C, R> {
    type PartitionedState: PartitionedState<C, R>;
    fn new(parts: usize) -> Self::PartitionedState;
}
Expand description

A trait for command–response pairs that can be partitioned across multiple workers via Partitioned.

Associated Types

The type which functions as the state machine for the partitioning.

Required methods

Construct a PartitionedState for the command–response pair.

Implementations on Foreign Types

Implementors