[−][src]Module elefren::helpers::toml
Helpers for serializing to/deserializing from toml
In order to use this module, set the "toml" feature in your Cargo.toml:
[dependencies.elefren]
version = "0.18"
features = ["toml"]
Functions
from_file | Attempts to deserialize a Data struct from a file |
from_reader | Attempts to deserialize a Data struct from something that implements the std::io::Read trait |
from_slice | Attempts to deserialize a Data struct from a slice of bytes |
from_str | Attempts to deserialize a Data struct from a string |
to_file | Attempts to serialize a Data struct to a file |
to_file_with_options | Attempts to serialize a Data struct to a file |
to_string | Attempts to serialize a Data struct to a String |
to_vec | Attempts to serialize a Data struct to a Vec of bytes |
to_writer | Attempts to serialize a Data struct to something that implements the std::io::Write trait |