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§
Sourcefn transform(
&self,
input: Vec<u8>,
) -> Result<ConfigurationTree, ConfigurationError>
fn transform( &self, input: Vec<u8>, ) -> Result<ConfigurationTree, ConfigurationError>
Transforms raw data into ConfigurationTree