Skip to main content

ConfigBuildInfer

Trait ConfigBuildInfer 

Source
pub trait ConfigBuildInfer<C> {
    type Output<T>;

    // Required method
    fn infer<T: 'static>(self) -> Self::Output<T>;
}

Required Associated Types§

Source

type Output<T>

Required Methods§

Source

fn infer<T: 'static>(self) -> Self::Output<T>

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.

Implementations on Foreign Types§

Source§

impl<C> ConfigBuildInfer<C> for &str
where C: ConfigValue + Default,

Source§

type Output<T> = ConfigBuilderWith<C, &str, T>

Source§

fn infer<T: 'static>(self) -> Self::Output<T>

Source§

impl<C> ConfigBuildInfer<C> for &String
where C: ConfigValue + Default,

Source§

type Output<T> = ConfigBuilderWith<C, &String, T>

Source§

fn infer<T: 'static>(self) -> Self::Output<T>

Source§

impl<C> ConfigBuildInfer<C> for String
where C: ConfigValue + Default,

Source§

type Output<T> = ConfigBuilderWith<C, String, T>

Source§

fn infer<T: 'static>(self) -> Self::Output<T>

Implementors§