[][src]Struct isahc::auth::Authentication

pub struct Authentication(_);

Specifies one or more HTTP authentication schemes to use.

Implementations

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.

impl BitOrAssign<Authentication> for Authentication[src]

impl Clone for Authentication[src]

impl Debug for Authentication[src]

impl Default for Authentication[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]