pub trait FileNameGenerator: Clone + Send + 'static {
    // Required method
    fn generate_file_name(&self) -> String;
}
Expand description

FileNameGeneratorTrait used to generate file name for data file. The file name can be passed to LocationGenerator to generate the location of the file.

Required Methods§

source

fn generate_file_name(&self) -> String

Generate a file name.

Object Safety§

This trait is not object safe.

Implementors§