[−][src]Struct isahc::auth::Authentication
Specifies one or more HTTP authentication schemes to use.
Methods
impl Authentication
[src]
pub const fn none() -> Self
[src]
Disable all authentication schemes. This is the default.
pub const fn all() -> Self
[src]
Enable all available authentication schemes.
pub const fn basic() -> Self
[src]
HTTP Basic authentication.
This authentication scheme sends the user name and password over the network in plain text. Avoid using this scheme without TLS as the credentials can be easily captured otherwise.
pub const fn digest() -> Self
[src]
HTTP Digest authentication.
Digest authentication is defined in RFC 2617 and is a more secure way to do authentication over public networks than the regular old-fashioned Basic method.
Trait Implementations
impl BitOr<Authentication> for Authentication
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, other: Self) -> Self
[src]
impl BitOrAssign<Authentication> for Authentication
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl Clone for Authentication
[src]
fn clone(&self) -> Authentication
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Authentication
[src]
impl Default for Authentication
[src]
Auto Trait Implementations
impl RefUnwindSafe for Authentication
impl Send for Authentication
impl Sync for Authentication
impl Unpin for Authentication
impl UnwindSafe for Authentication
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,