Trait net::storage_thread::StorageThreadFactory

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

Required Methods§

source

fn new(config_dir: Option<PathBuf>) -> Self

Object Safety§

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§