Trait miau::source::Source[][src]

pub trait Source {
    fn collect(&self) -> Result<Vec<u8>, ConfigurationError>;
fn describe(&self) -> String; }

Represents synchronous (blocking) config source.

Required methods

fn collect(&self) -> Result<Vec<u8>, ConfigurationError>[src]

Synchronous function to fetch source data.

fn describe(&self) -> String[src]

Description of the source.

Loading content...

Implementors

Loading content...