CompressionLevel

Trait CompressionLevel 

Source
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§

Provided Methods§

Source

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", so this trait is not object safe.

Implementors§