#[non_exhaustive]pub enum AuthenticationScheme {
Basic,
Bearer,
Digest,
Hoba,
Mutual,
Negotiate,
OAuth,
ScramSha1,
ScramSha256,
Vapid,
}
Expand description
HTTP Mutual Authentication Algorithms
Variants (Non-exhaustive)§
This enum is marked as 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.
Basic
RFC7617 Basic auth
Bearer
RFC6750 Bearer auth
Digest
RFC7616 Digest auth
Hoba
RFC7486 HTTP Origin-Bound Authentication (HOBA)
Mutual
RFC8120 Mutual auth
Negotiate
RFC4559 Negotiate auth
OAuth
RFC5849 OAuth
ScramSha1
RFC7804 SCRAM SHA1 auth
ScramSha256
RFC7804 SCRAM SHA256 auth
Vapid
RFC8292 Vapid auth
Trait Implementations§
Source§impl Clone for AuthenticationScheme
impl Clone for AuthenticationScheme
Source§fn clone(&self) -> AuthenticationScheme
fn clone(&self) -> AuthenticationScheme
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 AuthenticationScheme
impl Debug for AuthenticationScheme
Source§impl Display for AuthenticationScheme
impl Display for AuthenticationScheme
Source§impl FromStr for AuthenticationScheme
impl FromStr for AuthenticationScheme
Source§impl PartialEq for AuthenticationScheme
impl PartialEq for AuthenticationScheme
impl Copy for AuthenticationScheme
impl Eq for AuthenticationScheme
impl StructuralPartialEq for AuthenticationScheme
Auto Trait Implementations§
impl Freeze for AuthenticationScheme
impl RefUnwindSafe for AuthenticationScheme
impl Send for AuthenticationScheme
impl Sync for AuthenticationScheme
impl Unpin for AuthenticationScheme
impl UnwindSafe for AuthenticationScheme
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