[][src]Struct phpass::PhPass

pub struct PhPass<'a> { /* fields omitted */ }

Implementations

impl<'_> PhPass<'_>[src]

pub fn new<'a, T: AsRef<[u8]>>(pass: T) -> PhPass<'a>[src]

pub fn verify<T: AsRef<[u8]>>(&self, pass: T) -> Result<(), Error>[src]

Trait Implementations

impl<'a> Debug for PhPass<'a>[src]

impl<'_> Display for PhPass<'_>[src]

impl<'a> TryFrom<&'a str> for PhPass<'a>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for PhPass<'a>

impl<'a> Send for PhPass<'a>

impl<'a> Sync for PhPass<'a>

impl<'a> Unpin for PhPass<'a>

impl<'a> UnwindSafe for PhPass<'a>

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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,