Skip to main content

toml

Function toml 

Source
pub fn toml<T, I>(paths: I) -> Result<Option<T>, Error>
where T: for<'de> Deserialize<'de> + Merge, I: IntoIterator<Item = PathBuf>,
Available on crate features file and toml only.
Expand description

Evaluate paths using File and the Toml format.

This is a convenience function and does no magic. Returns Ok(None) only if paths is empty.