pub trait BuildStorage {
// Required method
fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>;
// Provided method
fn build_storage(&self) -> Result<Storage, String> { ... }
}
Expand description
Complex storage builder stuff.
Required Methods§
Provided Methods§
Sourcefn build_storage(&self) -> Result<Storage, String>
fn build_storage(&self) -> Result<Storage, String>
Build the storage out of this builder.
Implementations on Foreign Types§
Source§impl BuildStorage for ()
Available on crate feature std
only.
impl BuildStorage for ()
Available on crate feature
std
only.Implementors§
impl BuildStorage for Storage
Available on crate feature
std
only.