sasl::server

Trait Provider

Source
pub trait Provider<S: Secret>: Validator<S> {
    // Required method
    fn provide(&self, identity: &Identity) -> Result<S, ProviderError>;
}

Required Methods§

Source

fn provide(&self, identity: &Identity) -> Result<S, ProviderError>

Implementors§