Skip to main content

create_backend

Function create_backend 

Source
pub fn create_backend(config: BackendConfig) -> Result<Box<dyn StorageBackend>>
Expand description

Creates a storage backend from configuration.

ยงErrors

Returns an error if the backend cannot be created.