net::storage_thread

Trait StorageThreadFactory

Source
pub trait StorageThreadFactory {
    // Required method
    fn new(config_dir: Option<PathBuf>) -> Self;
}

Required Methods§

Source

fn new(config_dir: Option<PathBuf>) -> 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 IpcSender<StorageThreadMsg>

Source§

fn new(config_dir: Option<PathBuf>) -> IpcSender<StorageThreadMsg>

Create a storage thread

Implementors§