pub struct DefaultStorageFactory;Expand description
Реализация фабрики по умолчанию
Implementations§
Source§impl DefaultStorageFactory
impl DefaultStorageFactory
pub fn new() -> Self
pub fn create_storage_from_config( &self, config: StorageConfig, ) -> Result<Box<dyn Storage>, StorageError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DefaultStorageFactory
impl RefUnwindSafe for DefaultStorageFactory
impl Send for DefaultStorageFactory
impl Sync for DefaultStorageFactory
impl Unpin for DefaultStorageFactory
impl UnwindSafe for DefaultStorageFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more