pub struct DefaultDigestProvider;
Expand description
Supports the SHA-256
and SHA-512
digest algorithms.
Trait Implementations§
Source§impl Clone for DefaultDigestProvider
impl Clone for DefaultDigestProvider
Source§fn clone(&self) -> DefaultDigestProvider
fn clone(&self) -> DefaultDigestProvider
Returns a duplicate 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 DefaultDigestProvider
impl Debug for DefaultDigestProvider
Source§impl Default for DefaultDigestProvider
impl Default for DefaultDigestProvider
Source§fn default() -> DefaultDigestProvider
fn default() -> DefaultDigestProvider
Returns the “default value” for a type. Read more
Source§impl DigestProvider for DefaultDigestProvider
impl DigestProvider for DefaultDigestProvider
Source§fn provide_digest(&self, name: &str) -> Option<Box<dyn HttpDigest>>
fn provide_digest(&self, name: &str) -> Option<Box<dyn HttpDigest>>
Returns a digest algorithm for the given name, or
None
if the algorithm is not
recognised by the provider.impl Copy for DefaultDigestProvider
Auto Trait Implementations§
impl Freeze for DefaultDigestProvider
impl RefUnwindSafe for DefaultDigestProvider
impl Send for DefaultDigestProvider
impl Sync for DefaultDigestProvider
impl Unpin for DefaultDigestProvider
impl UnwindSafe for DefaultDigestProvider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more