pub trait Authenticator {
type Response: AsRef<[u8]>;
// Required method
fn process(&mut self, challenge: &[u8]) -> Self::Response;
}Expand description
This trait allows for pluggable authentication schemes. It is used by Client::authenticate to
authenticate using SASL.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".