pub trait SafeDisplay {
// Required method
fn to_safe_string(&self) -> String;
}
Expand description
Trait to convert a value to a string which is safe to return through a public API.
pub trait SafeDisplay {
// Required method
fn to_safe_string(&self) -> String;
}
Trait to convert a value to a string which is safe to return through a public API.