Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica

FromStrResult

Trait FromStrResult 

Source
pub trait FromStrResult {
    // Required method
    fn from_str_result(s: &str) -> Result<PathBuf, PathError>;
}
Expand description

Backward compatibility: FromStr that can return a PathError

This trait implementation allows existing code that expects Result<PathBuf, PathError> to continue working during the migration period.

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.

Implementors§