Struct isahc::auth::Authentication [−][src]
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.
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]
pub 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
[src]
impl Send for Authentication
[src]
impl Sync for Authentication
[src]
impl Unpin for Authentication
[src]
impl UnwindSafe for Authentication
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,