pub trait FormatSafeUrlExt {
// Required method
fn format_safe(&self, f: &mut Formatter<'_>) -> Result;
}Expand description
Extension trait for Url to render a Debug representation with any
password redacted.
Required Methods§
Sourcefn format_safe(&self, f: &mut Formatter<'_>) -> Result
fn format_safe(&self, f: &mut Formatter<'_>) -> Result
Debug-format the URL with its password replaced by ****.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".