pub enum HashAlgorithm {
Md2,
Md5,
Sha1,
Sha224,
Sha256,
Sha384,
Sha512,
Ed25519,
Unsupported,
}
Variants
Md2
Md5
Sha1
Sha224
Sha256
Sha384
Sha512
Ed25519
Unsupported
Trait Implementations
sourceimpl Clone for HashAlgorithm
impl Clone for HashAlgorithm
sourcefn clone(&self) -> HashAlgorithm
fn clone(&self) -> HashAlgorithm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HashAlgorithm
impl Debug for HashAlgorithm
sourceimpl Display for HashAlgorithm
impl Display for HashAlgorithm
sourceimpl From<u8> for HashAlgorithm
impl From<u8> for HashAlgorithm
sourceimpl PartialEq<HashAlgorithm> for HashAlgorithm
impl PartialEq<HashAlgorithm> for HashAlgorithm
impl Copy for HashAlgorithm
impl Eq for HashAlgorithm
impl StructuralEq for HashAlgorithm
impl StructuralPartialEq for HashAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for HashAlgorithm
impl Send for HashAlgorithm
impl Sync for HashAlgorithm
impl Unpin for HashAlgorithm
impl UnwindSafe for HashAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more