Trait viz::prelude::StateFactory [−][src]
pub trait StateFactory: 'static + Send + Sync {
fn create(&self, extensions: &mut Extensions) -> bool;
}
Expand description
Application state factory.
Required methods
fn create(&self, extensions: &mut Extensions) -> bool
fn create(&self, extensions: &mut Extensions) -> bool
Injects a state to Application.