#[non_exhaustive]pub enum PasswordClient {}
Expand description
Client for responding to a password challenge.
Typically created via TryFrom
implementations for a parsed challenge
(crate::ChallengeRef
) or unparsed challenges (str
,
[http::header::HeaderValue
], or [http::header::GetAll
]). See full
example in the crate-level documentation.
For more complex scenarios, see PasswordClientBuilder
.
Implementations§
source§impl PasswordClient
impl PasswordClient
sourcepub fn builder() -> PasswordClientBuilder
pub fn builder() -> PasswordClientBuilder
Builds a new PasswordClient
.
See example at PasswordClientBuilder
.
Trait Implementations§
source§impl Debug for PasswordClient
impl Debug for PasswordClient
source§impl PartialEq for PasswordClient
impl PartialEq for PasswordClient
source§impl TryFrom<&ChallengeRef<'_>> for PasswordClient
impl TryFrom<&ChallengeRef<'_>> for PasswordClient
Tries to create a PasswordClient
from the single supplied challenge.
This is a convenience wrapper around PasswordClientBuilder
.
source§impl TryFrom<&str> for PasswordClient
impl TryFrom<&str> for PasswordClient
Tries to create a PasswordClient
from the supplied str
challenge list.
This is a convenience wrapper around PasswordClientBuilder
.
impl Eq for PasswordClient
impl StructuralPartialEq for PasswordClient
Auto Trait Implementations§
impl Freeze for PasswordClient
impl RefUnwindSafe for PasswordClient
impl Send for PasswordClient
impl Sync for PasswordClient
impl Unpin for PasswordClient
impl UnwindSafe for PasswordClient
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