pub fn run_app<E, F>(future: F) -> Result<(), Error<E>>where F: IntoFuture<Output = Result<(), E>> + 'static,