[][src]Trait sasl::server::Mechanism

pub trait Mechanism {
    pub fn name(&self) -> &str;
pub fn respond(
        &mut self,
        payload: &[u8]
    ) -> Result<Response, MechanismError>; }

Required methods

pub fn name(&self) -> &str[src]

pub fn respond(&mut self, payload: &[u8]) -> Result<Response, MechanismError>[src]

Loading content...

Implementors

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

impl<V: Validator<Plain>> Mechanism for Plain<V>[src]

Loading content...