[][src]Function lavish::connect_timeout

pub fn connect_timeout<M, AH, A, H, CL, P, NP, R>(
    handler: AH,
    addr: A,
    timeout: Option<Duration>
) -> Result<Runtime<CL>, Error> where
    AH: Into<Arc<H>>,
    A: ToSocketAddrs,
    H: Handler<CL, M, P, NP, R> + 'static,
    CL: Clone,
    P: Atom<M>,
    NP: Atom<M>,
    R: Atom<M>,
    M: Mapping