pub trait ParseFromFlags: Sized {
type Config;
// Required methods
fn parse_vec_as_config<I>(inputs: I) -> Self::Config
where I: IntoIterator,
I::Item: AsRef<str>;
fn parse(s: &str) -> Result<Self, String>;
}Required Associated Types§
Required Methods§
Sourcefn parse_vec_as_config<I>(inputs: I) -> Self::Config
fn parse_vec_as_config<I>(inputs: I) -> Self::Config
Przetwarza wektor stringów (flag) na zwalidowaną strukturę konfiguracyjną
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.