#[non_exhaustive]#[repr(u8)]pub enum Qop {
Auth = 1,
AuthInt = 2,
}
Available on crate feature
digest-scheme
only.Expand description
“Quality of protection” value.
The values here can be used in a bitmask as in DigestClient::qop
.
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.
Auth = 1
Authentication.
AuthInt = 2
Authentication with integrity protection.
“Integrity protection” means protection of the request entity body.
Trait Implementations§
impl Copy for Qop
Auto Trait Implementations§
impl Freeze for Qop
impl RefUnwindSafe for Qop
impl Send for Qop
impl Sync for Qop
impl Unpin for Qop
impl UnwindSafe for Qop
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