Skip to main content

WithPartition

Trait WithPartition 

Source
pub trait WithPartition {
    // Required method
    fn with_partition(&self, partition: Partition) -> Self;
}
Expand description

Trait implemented by types with a partition, to allow automatic handling of partitions.

Required Methods§

Source

fn with_partition(&self, partition: Partition) -> Self

Create a clone of self with given partition.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§