Struct config::File [] [src]

pub struct File<T> where
    T: FileSource, 
{ /* fields omitted */ }

Methods

impl File<FileSourceString>
[src]

[src]

impl File<FileSourceFile>
[src]

[src]

[src]

Given the basename of a file, will attempt to locate a file by setting its extension to a registered format.

impl<T: FileSource> File<T>
[src]

[src]

[src]

Trait Implementations

impl<T: Clone> Clone for File<T> where
    T: FileSource, 
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for File<T> where
    T: FileSource, 
[src]

[src]

Formats the value using the given formatter.

impl<'a> From<&'a Path> for File<FileSourceFile>
[src]

[src]

Performs the conversion.

impl From<PathBuf> for File<FileSourceFile>
[src]

[src]

Performs the conversion.

impl<T: FileSource> Source for File<T> where
    T: 'static,
    T: Sync + Send
[src]

[src]

[src]

Collect all configuration properties available from this source and return a HashMap. Read more

[src]