[−][src]Struct digest_access::DigestAccess
Implementations
impl DigestAccess
[src]
pub fn from_headers(
headers: &HeaderMap
) -> Result<DigestAccess, DigestParseError>
[src]
headers: &HeaderMap
) -> Result<DigestAccess, DigestParseError>
Returns a DigestAccess object if the HTTP response HeaderMap contains a digest authenticate header
pub fn set_username<A: Into<String>>(&mut self, username: A)
[src]
pub fn set_password(&mut self, password: &str)
[src]
pub fn set_hashed_user_realm_password<A: Into<Vec<u8>>>(&mut self, hashed: A)
[src]
pub fn generate_authorization(
&mut self,
method: &str,
uri: &str,
body: Option<&[u8]>,
cnonce: Option<&str>
) -> Option<String>
[src]
&mut self,
method: &str,
uri: &str,
body: Option<&[u8]>,
cnonce: Option<&str>
) -> Option<String>
Generate the Authorization header value
pub fn nonce(&self) -> &str
[src]
pub fn cnonce() -> String
[src]
pub fn hash_user_realm_password<T: Digest>(
username: &str,
realm: &str,
password: &str
) -> Output<T>
[src]
username: &str,
realm: &str,
password: &str
) -> Output<T>
Trait Implementations
impl Debug for DigestAccess
[src]
impl FromStr for DigestAccess
[src]
Auto Trait Implementations
impl RefUnwindSafe for DigestAccess
impl Send for DigestAccess
impl Sync for DigestAccess
impl Unpin for DigestAccess
impl UnwindSafe for DigestAccess
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,