pub fn future<F>(future: F) -> Self
    where
        F: Future<Item = T::Res, Error = Never> + Send + 'static,
    {
        Reply {
            either: Either::A(Box::new(future)),
        }
    }
/// Makes a `Reply` instance which will execute `future`
/// then reply the resulting item as the response.
Makes a `Reply` instance which will execute `future`
then reply the resulting item as the response.
Makes a ` Reply ` instance which will execute ` future ` then reply the resulting item as the response .
pub fn future<F>(future: F) -> Self
    where
        F: Future<Item = T::Res, Error = Never> + Send + 'static,
    {
        Reply {
            either: Either::A(Box::new(future)),
        }
    }
pub fn future < F > ( future : F ) -> Self where F : Future < Item = T :: Res , Error = Never > + Send + ' static , { Reply { either : Either :: A ( Box :: new ( future ) ) , } }
Makes a `Reply` instance which will execute `future`
then reply the resulting item as the response.
Makes a ` Reply ` instance which will execute ` future ` then reply the resulting item as the response .
future
F
future
F