Function trillium::init

source · []
pub fn init<T, F, Fut>(init: F) -> Init<T> where
    F: Fn(Info) -> Fut + Send + Sync + 'static,
    Fut: Future<Output = T> + Send + 'static,
    T: Handler
Expand description

alias for Init::new