pub trait BasicAuthConnExt {
// Required method
fn basic_auth_username(&self) -> Option<&str>;
}Expand description
extension trait for reading the authenticated username
Required Methods§
Sourcefn basic_auth_username(&self) -> Option<&str>
fn basic_auth_username(&self) -> Option<&str>
the username that BasicAuth accepted for this conn, if any
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".