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

Injects a state to Application.

Implementors