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§
Sourcefn generate_file_name(&self) -> String
fn generate_file_name(&self) -> String
Generate a file name.
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.