[][src]Struct sasl::secret::Pbkdf2Sha256

pub struct Pbkdf2Sha256 {
    pub salt: Vec<u8>,
    pub iterations: u32,
    pub digest: Vec<u8>,
}

Fields

salt: Vec<u8>iterations: u32digest: Vec<u8>

Implementations

impl Pbkdf2Sha256[src]

pub fn derive(
    password: &str,
    salt: &[u8],
    iterations: u32
) -> Result<Pbkdf2Sha256, DeriveError>
[src]

Trait Implementations

impl Clone for Pbkdf2Sha256[src]

impl Debug for Pbkdf2Sha256[src]

impl Eq for Pbkdf2Sha256[src]

impl PartialEq<Pbkdf2Sha256> for Pbkdf2Sha256[src]

impl Pbkdf2Secret for Pbkdf2Sha256[src]

impl Secret for Pbkdf2Sha256[src]

impl StructuralEq for Pbkdf2Sha256[src]

impl StructuralPartialEq for Pbkdf2Sha256[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.