Skip to main content

Settings

Trait Settings 

Source
pub trait Settings {
    const MIN_CHUNK_SIZE: u32 = 4;
    const MAX_CHUNK_SIZE: u32 = 4096;
    const CLEANUP: CleanupMode = CleanupMode::OnChunkRead;
}

Provided Associated Constants§

Source

const MIN_CHUNK_SIZE: u32 = 4

Source

const MAX_CHUNK_SIZE: u32 = 4096

Source

const CLEANUP: CleanupMode = CleanupMode::OnChunkRead

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§