Enum keylime::algorithms::HashAlgorithm
source · [−]pub enum HashAlgorithm {
Sha1,
Sha256,
Sha384,
Sha512,
Sm3_256,
}
Variants
Sha1
Sha256
Sha384
Sha512
Sm3_256
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 moresourceimpl Debug for HashAlgorithm
impl Debug for HashAlgorithm
sourceimpl<'de> Deserialize<'de> for HashAlgorithm
impl<'de> Deserialize<'de> for HashAlgorithm
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for HashAlgorithm
impl Display for HashAlgorithm
sourceimpl From<HashAlgorithm> for HashingAlgorithm
impl From<HashAlgorithm> for HashingAlgorithm
sourcefn from(hashing_algorithm: HashAlgorithm) -> Self
fn from(hashing_algorithm: HashAlgorithm) -> Self
Converts to this type from the input type.
sourceimpl From<HashAlgorithm> for MessageDigest
impl From<HashAlgorithm> for MessageDigest
sourcefn from(hash_algorithm: HashAlgorithm) -> Self
fn from(hash_algorithm: HashAlgorithm) -> Self
Converts to this type from the input type.
sourceimpl Hash for HashAlgorithm
impl Hash for HashAlgorithm
sourceimpl PartialEq<HashAlgorithm> for HashAlgorithm
impl PartialEq<HashAlgorithm> for HashAlgorithm
sourcefn eq(&self, other: &HashAlgorithm) -> bool
fn eq(&self, other: &HashAlgorithm) -> bool
sourceimpl Serialize for HashAlgorithm
impl Serialize for HashAlgorithm
sourceimpl TryFrom<&str> for HashAlgorithm
impl TryFrom<&str> 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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