pub trait UsernameNormalizer: Send + Sync {
// Required method
fn normalize(&self, value: &str) -> Result<String, AuthError>;
}Expand description
A synchronous normalization callback; errors propagate to its caller.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".