pub trait Hint<T> {
// Required method
fn hint(self, hint: impl Into<EcoString>) -> Result<T, HintedString>;
}Expand description
Enrich a StrResult or HintedStrResult with a hint.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.