[][src]Struct sasl::server::mechanisms::Scram

pub struct Scram<S, P> where
    S: ScramProvider,
    P: Provider<S::Secret>,
    S::Secret: Pbkdf2Secret
{ /* fields omitted */ }

Implementations

impl<S, P> Scram<S, P> where
    S: ScramProvider,
    P: Provider<S::Secret>,
    S::Secret: Pbkdf2Secret
[src]

pub fn new(provider: P, channel_binding: ChannelBinding) -> Scram<S, P>[src]

Trait Implementations

impl<S, P> Mechanism for Scram<S, P> where
    S: ScramProvider,
    P: Provider<S::Secret>,
    S::Secret: Pbkdf2Secret
[src]

Auto Trait Implementations

impl<S, P> RefUnwindSafe for Scram<S, P> where
    P: RefUnwindSafe,
    S: RefUnwindSafe
[src]

impl<S, P> Send for Scram<S, P> where
    P: Send,
    S: Send
[src]

impl<S, P> Sync for Scram<S, P> where
    P: Sync,
    S: Sync
[src]

impl<S, P> Unpin for Scram<S, P> where
    P: Unpin,
    S: Unpin
[src]

impl<S, P> UnwindSafe for Scram<S, P> where
    P: UnwindSafe,
    S: UnwindSafe
[src]

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, 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.