pub trait DbExternalitiesFactory: Send + Sync {
// Required method
fn create(&self) -> Box<dyn DbExternalities>;
}
Expand description
Create a Offchain DB accessor object.
Required Methods§
sourcefn create(&self) -> Box<dyn DbExternalities>
fn create(&self) -> Box<dyn DbExternalities>
Create offchain::DbExternalities
instance.