from_file_with_timeout

Function from_file_with_timeout 

Source
pub fn from_file_with_timeout<'de, T>(
    source_file: &str,
    timeout: Duration,
) -> Result<T, Box<dyn Error>>
where T: Deserialize<'de>,
Expand description

Evaluate the given source file and deserialize it into a Rust deserializable object.