pub trait EngineProvider {
    fn new_context(&self, state: Arc<WasmSocket>) -> Result<SharedContext, Error>;

    fn init(&mut self) -> Result<(), Error> { ... }
}
Expand description

All engine providers must implement the EngineProvider trait.

Required Methods§

Called to create a new SharedContext.

Provided Methods§

Initializes the EngineProvider

Implementors§