Remove unused UIProvider trait definition.

This commit is contained in:
Ms2ger 2016-11-22 00:29:19 +01:00
parent d6db049a7f
commit 5febfdc4d6

View file

@ -607,10 +607,6 @@ pub fn obtain_response<A>(request_factory: &HttpRequestFactory<R=A>,
Ok((response, msg))
}
pub trait UIProvider {
fn input_username_and_password(&self, prompt: &str) -> (Option<String>, Option<String>);
}
// FIXME: This incredibly hacky. Make it more robust, and at least test it.
fn is_cert_verify_error(error: &OpensslError) -> bool {
match error {