trait KeyFromPath: Sized {
// Required methods
fn from_path(path: &Path) -> Result<Self>;
fn to_display(&self) -> Cow<'_, str>;
}
Expand description
Trait to convert from a path into an owned key for a map.
Required Methods§
Object Safety§
This trait is not object safe.