Trait miau::format::Format [−][src]
Represents data format
Required methods
fn transform(
&self,
input: Vec<u8>
) -> Result<ConfigurationTree, ConfigurationError>
[src]
&self,
input: Vec<u8>
) -> Result<ConfigurationTree, ConfigurationError>
Transforms raw data into ConfigurationTree
fn describe(&self) -> String
[src]
Describes this Format
.
Implementors
impl<T> Format for T where
T: Fn(Vec<u8>) -> Result<ConfigurationTree, ConfigurationError>,
[src]
T: Fn(Vec<u8>) -> Result<ConfigurationTree, ConfigurationError>,
fn transform(
&self,
input: Vec<u8>
) -> Result<ConfigurationTree, ConfigurationError>
[src]
&self,
input: Vec<u8>
) -> Result<ConfigurationTree, ConfigurationError>