pub type SharedEngine = Arc<Mutex<Engine>>;Expand description
Engine is shared across handlers. The underlying Repository holds a
Box<dyn Storage> trait object that is not guaranteed Send+Sync at the
trait-object level, so we serialize access through an async Mutex.
Aliased Type§
pub struct SharedEngine { /* private fields */ }