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§
Sourcefn with_partition(&self, partition: Partition) -> Self
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", so this trait is not object safe.