Format

Trait Format 

Source
pub trait Format {
    // Required methods
    fn transform(
        &self,
        input: Vec<u8>,
    ) -> Result<ConfigurationTree, ConfigurationError>;
    fn describe(&self) -> String;
}
Expand description

Represents data format

Required Methods§

Source

fn transform( &self, input: Vec<u8>, ) -> Result<ConfigurationTree, ConfigurationError>

Transforms raw data into ConfigurationTree

Source

fn describe(&self) -> String

Describes this Format.

Implementors§