Trait phronesis_runtime::BuildStorage
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§
fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>
Assimilate the storage for this module into pre-existing overlays.
Provided Methods§
fn build_storage(&self) -> Result<Storage, String>
fn build_storage(&self) -> Result<Storage, String>
Build the storage out of this builder.