Trait FromStrStdErr

Source
pub trait FromStrStdErr: FromStr<Err: Into<Box<dyn Error + Send + Sync + 'static>>> { }
Expand description

FromStr trait with FromStr::Err fixed to a type compatible with clap’s value_parser macro.

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§

Source§

impl<T: FromStr<Err: Into<Box<dyn Error + Send + Sync + 'static>>>> FromStrStdErr for T