Skip to main content

ConfigFallback

Trait ConfigFallback 

Source
pub trait ConfigFallback {
    type Opts: Serialize + DeserializeOwned + IntoArgs + FromArgs;
    type Config: Serialize + DeserializeOwned;
}
Expand description

Defines the associated types for config fallback parsing.

Required Associated Types§

Source

type Opts: Serialize + DeserializeOwned + IntoArgs + FromArgs

Intermediate optional representation used during merge.

Source

type Config: Serialize + DeserializeOwned

Config-only representation loaded from file.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§