Trait Parse

Source
pub trait Parse {
    type Input;

    // Required method
    fn parse_from<E: Read>(env: &E) -> HashMap<Self::Input, Option<String>>;

    // Provided method
    fn parse() -> HashMap<Self::Input, Option<String>> { ... }
}

Required Associated Types§

Required Methods§

Source

fn parse_from<E: Read>(env: &E) -> HashMap<Self::Input, Option<String>>

Provided 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§