[][src]Function shadowsocks::relay::boxed_future

pub fn boxed_future<T, E, F>(
    f: F
) -> Box<dyn Future<Item = T, Error = E> + Send + 'static> where
    F: Future<Item = T, Error = E> + Send + 'static,