pub trait StorageThreadFactory {
// Required method
fn new(
config_dir: Option<PathBuf>,
mem_profiler_chan: MemProfilerChan,
) -> Self;
}
Required Methods§
fn new(config_dir: Option<PathBuf>, mem_profiler_chan: MemProfilerChan) -> Self
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.
Implementations on Foreign Types§
Source§impl StorageThreadFactory for GenericSender<StorageThreadMsg>
impl StorageThreadFactory for GenericSender<StorageThreadMsg>
Source§fn new(
config_dir: Option<PathBuf>,
mem_profiler_chan: MemProfilerChan,
) -> GenericSender<StorageThreadMsg>
fn new( config_dir: Option<PathBuf>, mem_profiler_chan: MemProfilerChan, ) -> GenericSender<StorageThreadMsg>
Create a storage thread