Skip to main content

StorageFactory

Type Alias StorageFactory 

Source
pub type StorageFactory = Box<dyn Fn(&TorrentMetaV1, &Path) -> Arc<dyn TorrentStorage> + Send + Sync>;
Expand description

Type alias for a factory that creates per-torrent storage.

Aliased Typeยง

pub struct StorageFactory(/* private fields */);