pub enum DigestMethod {
SHA256,
IdSHA256,
SHA512,
IdSHA512,
}Expand description
Digest methods supported by this crate.
Variants§
Trait Implementations§
Source§impl Clone for DigestMethod
impl Clone for DigestMethod
Source§fn clone(&self) -> DigestMethod
fn clone(&self) -> DigestMethod
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 DigestMethod
impl Debug for DigestMethod
Source§impl Display for DigestMethod
Convert the digest method name to an IANA registered value
impl Display for DigestMethod
Convert the digest method name to an IANA registered value
Source§impl FromStr for DigestMethod
Convert an IANA registered value string to a DigestMethod
impl FromStr for DigestMethod
Convert an IANA registered value string to a DigestMethod
Source§impl PartialEq for DigestMethod
impl PartialEq for DigestMethod
impl Copy for DigestMethod
impl Eq for DigestMethod
impl StructuralPartialEq for DigestMethod
Auto Trait Implementations§
impl Freeze for DigestMethod
impl RefUnwindSafe for DigestMethod
impl Send for DigestMethod
impl Sync for DigestMethod
impl Unpin for DigestMethod
impl UnwindSafe for DigestMethod
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