Skip to main content

EnvFactory

Type Alias EnvFactory 

pub type EnvFactory = Arc<dyn Fn(u32) -> Result<Box<dyn Env>> + Send + Sync>;
Expand description

Creates a shard’s storage (server mode and other custom backends).

Aliased Type§

pub struct EnvFactory { /* private fields */ }