Enum gix_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§fn default() -> ProxyAuthMethod
fn default() -> ProxyAuthMethod
Returns the “default value” for a type. Read more
source§impl PartialEq for ProxyAuthMethod
impl PartialEq 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 ==
.impl Copy for ProxyAuthMethod
impl Eq for ProxyAuthMethod
impl StructuralPartialEq for ProxyAuthMethod
Auto Trait Implementations§
impl Freeze for ProxyAuthMethod
impl RefUnwindSafe for ProxyAuthMethod
impl Send for ProxyAuthMethod
impl Sync for ProxyAuthMethod
impl Unpin for ProxyAuthMethod
impl UnwindSafe for ProxyAuthMethod
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more