Enum git_transport::client::http::options::ProxyAuthMethod
source · pub enum ProxyAuthMethod {
AnyAuth,
Basic,
Digest,
Negotiate,
Ntlm,
}
Available on crate features
blocking-client
and http-client
only.Expand description
The way to configure a proxy for authentication if a username is present in the configured proxy.
Variants§
AnyAuth
Automatically pick a suitable authentication method.
Basic
HTTP basic authentication.
Digest
Http digest authentication to prevent a password to be passed in clear text.
Negotiate
GSS negotiate authentication.
Ntlm
NTLM authentication
Trait Implementations§
source§impl Clone for ProxyAuthMethod
impl Clone for ProxyAuthMethod
source§fn clone(&self) -> ProxyAuthMethod
fn clone(&self) -> ProxyAuthMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProxyAuthMethod
impl Debug for ProxyAuthMethod
source§impl Default for ProxyAuthMethod
impl Default for ProxyAuthMethod
source§impl PartialEq<ProxyAuthMethod> for ProxyAuthMethod
impl PartialEq<ProxyAuthMethod> for ProxyAuthMethod
source§fn eq(&self, other: &ProxyAuthMethod) -> bool
fn eq(&self, other: &ProxyAuthMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.