PartitionAssignment

Type Alias PartitionAssignment 

Source
pub type PartitionAssignment<'a> = &'a [&'a [i32]];
Available on non-madsim only.
Expand description

An assignment of partitions to replicas.

Each element in the outer slice corresponds to the partition with that index. The inner slice specifies the broker IDs to which replicas of that partition should be assigned.