Enum wafer::config::FileType [−][src]
pub enum FileType {
Messagepack,
Csv,
Json,
Yaml,
Ron,
}File formats available for data output.
Variants
MessagepackMessagepack: a binary option. Small file sizes (comparatively), but not human readable - can be converted to be however.
CsvCSV: a plain text file with comma separated values.
JsonJSON: a popular structured text format found on the web, but also good for Wafer output.
YamlYAML: another structured text format that is a little more feature rich than JSON.
RonRON: Rusty Object Notation is a structured text format designed to encapsulate Rust syntax.
Methods
impl FileType[src]
impl FileTypepub fn extentsion(&self) -> String[src]
pub fn extentsion(&self) -> StringReturns the file extension of the current output type.
Trait Implementations
impl Debug for FileType[src]
impl Debug for FileTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for FileType[src]
impl Display for FileType