Skip to main content

read

Function read 

Source
pub fn read<T, Format>(
    format: &Format,
    file: &File,
) -> Result<T, Error<Format::FormatError>>
where Format: FileFormat<T>,
Expand description

Reads a value, T, from a file given a FileFormat.