pub trait WebStorageThreadFactory {
// 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 WebStorageThreadFactory for GenericSender<WebStorageThreadMsg>
impl WebStorageThreadFactory for GenericSender<WebStorageThreadMsg>
Source§fn new(
config_dir: Option<PathBuf>,
mem_profiler_chan: MemProfilerChan,
) -> GenericSender<WebStorageThreadMsg>
fn new( config_dir: Option<PathBuf>, mem_profiler_chan: MemProfilerChan, ) -> GenericSender<WebStorageThreadMsg>
Create a storage thread