[][src]Function lavish::spawn

pub fn spawn<M, CL, AH, H, P, NP, R>(
    handler: AH,
    conn: Box<dyn Conn>
) -> Result<Runtime<CL>, Error> where
    CL: Clone,
    AH: Into<Arc<H>>,
    H: Handler<CL, M, P, NP, R> + 'static,
    P: Atom<M>,
    NP: Atom<M>,
    R: Atom<M>,
    M: Mapping