Function ryan::from_path

source ·
pub fn from_path<P: AsRef<Path>, T>(path: P) -> Result<T, Error>where
    T: for<'a> Deserialize<'a>,
Expand description

Loads a Ryan file from disk and executes it, finally building an instance of type T from the execution outcome.