Skip to main content

SpillGate

Trait SpillGate 

Source
pub trait SpillGate: 'static {
    // Required method
    fn enabled() -> bool;
}
Expand description

Which process-wide gate decides whether a ColumnChunk spills.

Compute and storage dataflows share a process and its worker threads, so the gate is part of the chunk type: each consumer names the gate of the subsystem that owns it, and one subsystem’s flag cannot spill another’s chunks. Every gate takes effect at the next commit, and only once apply_pool_config has installed the pool. With no pool installed chunks stay resident whatever the gate says.

Required Methods§

Source

fn enabled() -> bool

Whether chunks of this gate spill at commit.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§