Trait DriveFactory
Other items inendbasic_std::storage
pub trait DriveFactory { fn create(&self, target: &str) -> Result<Box<dyn Drive>>; }
Trait to instantiate drives of a given type.
fn create(&self, target: &str) -> Result<Box<dyn Drive>>
Creates a new drive for target.
target
impl DriveFactory for DirectoryDriveFactory
impl DriveFactory for InMemoryDriveFactory