pub trait CompressionLevel<T: Display + PartialOrd> {
const MINIMUM_LEVEL: T;
const MAXIMUM_LEVEL: T;
// Provided method
fn is_valid_level(level: T) -> PolarsResult<()> { ... }
}Expand description
Defines valid compression levels.
Required Associated Constants§
const MINIMUM_LEVEL: T
const MAXIMUM_LEVEL: T
Provided Methods§
Sourcefn is_valid_level(level: T) -> PolarsResult<()>
fn is_valid_level(level: T) -> PolarsResult<()>
Tests if the provided compression level is valid.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".