Enum libreauth::hash::HashFunction [−][src]
C interface
The C interface uses an enum of type libreauth_hash_function
and
the members has been renamed as follows:
Rust | C |
---|---|
Sha1 | LIBREAUTH_HASH_SHA_1 |
Sha224 | LIBREAUTH_HASH_SHA_224 |
Sha256 | LIBREAUTH_HASH_SHA_256 |
Sha384 | LIBREAUTH_HASH_SHA_384 |
Sha512 | LIBREAUTH_HASH_SHA_512 |
Sha512Trunc224 | LIBREAUTH_HASH_SHA_512_TRUNC_224 |
Sha512Trunc256 | LIBREAUTH_HASH_SHA_512_TRUNC_256 |
Sha3_224 | LIBREAUTH_HASH_SHA_3_224 |
Sha3_256 | LIBREAUTH_HASH_SHA_3_256 |
Sha3_384 | LIBREAUTH_HASH_SHA_3_384 |
Sha3_512 | LIBREAUTH_HASH_SHA_3_512 |
Keccak224 | LIBREAUTH_HASH_KECCAK_224 |
Keccak256 | LIBREAUTH_HASH_KECCAK_256 |
Keccak384 | LIBREAUTH_HASH_KECCAK_384 |
Keccak512 | LIBREAUTH_HASH_KECCAK_512 |
Variants
Trait Implementations
impl Clone for HashFunction
[src]
fn clone(&self) -> HashFunction
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for HashFunction
[src]
impl Display for HashFunction
[src]
impl Eq for HashFunction
[src]
impl FromStr for HashFunction
[src]
type Err = HashFunctionError
The associated error which can be returned from parsing.
fn from_str(data: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<HashFunction> for HashFunction
[src]
fn eq(&self, other: &HashFunction) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for HashFunction
[src]
impl StructuralPartialEq for HashFunction
[src]
Auto Trait Implementations
impl RefUnwindSafe for HashFunction
impl Send for HashFunction
impl Sync for HashFunction
impl Unpin for HashFunction
impl UnwindSafe for HashFunction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,