Function deserialize

Source
pub fn deserialize<'de, D, F, T>(
    deserializer: D,
    listener: F,
) -> Result<T, D::Error>
where D: Deserializer<'de>, F: FnMut(&Path, &Result<Vec<u8>>), T: Deserialize<'de>,
Expand description

Entry point.

The listener will be called on every referenced file read along with the result of the read.

See crate documentation for an example.