Trait StorageFactory

Source
pub trait StorageFactory {
    // Required method
    fn create_storage(&self) -> Result<Box<dyn Storage>, StorageError>;
}
Expand description

Абстрактная фабрика для создания различных типов хранилищ

Required Methods§

Implementors§