[−][src]Trait miau::format::Format
Represents data format
Required methods
pub fn transform(
&self,
input: Vec<u8>
) -> Result<ConfigurationTree, ConfigurationError>
[src]
&self,
input: Vec<u8>
) -> Result<ConfigurationTree, ConfigurationError>
Transforms raw data into ConfigurationTree
pub 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>,
pub fn transform(
&self,
input: Vec<u8>
) -> Result<ConfigurationTree, ConfigurationError>
[src]
&self,
input: Vec<u8>
) -> Result<ConfigurationTree, ConfigurationError>