Enum http_types::auth::AuthenticationScheme [−][src]
#[non_exhaustive]
pub enum AuthenticationScheme {
Basic,
Bearer,
Digest,
Hoba,
Mutual,
Negotiate,
OAuth,
ScramSha1,
ScramSha256,
Vapid,
}HTTP Mutual Authentication Algorithms
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RFC7617 Basic auth
RFC6750 Bearer auth
RFC7616 Digest auth
RFC7486 HTTP Origin-Bound Authentication (HOBA)
RFC8120 Mutual auth
RFC4559 Negotiate auth
RFC5849 OAuth
RFC7804 SCRAM SHA1 auth
RFC7804 SCRAM SHA256 auth
RFC8292 Vapid auth
Trait Implementations
impl Clone for AuthenticationScheme[src]
impl Clone for AuthenticationScheme[src]fn clone(&self) -> AuthenticationScheme[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for AuthenticationScheme[src]
impl Copy for AuthenticationScheme[src]impl Eq for AuthenticationScheme[src]
impl Eq for AuthenticationScheme[src]impl FromStr for AuthenticationScheme[src]
impl FromStr for AuthenticationScheme[src]impl StructuralEq for AuthenticationScheme[src]
impl StructuralEq for AuthenticationScheme[src]Auto Trait Implementations
impl RefUnwindSafe for AuthenticationScheme
impl RefUnwindSafe for AuthenticationSchemeimpl Send for AuthenticationScheme
impl Send for AuthenticationSchemeimpl Sync for AuthenticationScheme
impl Sync for AuthenticationSchemeimpl Unpin for AuthenticationScheme
impl Unpin for AuthenticationSchemeimpl UnwindSafe for AuthenticationScheme
impl UnwindSafe for AuthenticationSchemeBlanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,