Skip to main content

TempFileFactory

Trait TempFileFactory 

Source
pub trait TempFileFactory: Send + Sync {
    // Required method
    fn create_temp_file(&self, description: &str) -> Result<Arc<dyn SpillFile>>;
}
Expand description

Factory for creating spill files.

Required Methods§

Source

fn create_temp_file(&self, description: &str) -> Result<Arc<dyn SpillFile>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§