/// Load and validate events from the given YAML file.
Load and validate events from the given YAML file.
Load and validate events from the given YAML file .
pub fn load_file(filename: &Path) -> Result<Self, Report> {
        trace!("Reading events from {:?}", filename);
        let contents =
            read_to_string(&filename).wrap_err_with(|| format!("Reading {:?}", filename))?;
        Self::load_str(&contents).wrap_err_with(|| format!("Reading {:?}", filename))
    }
pub fn load_file ( filename : & Path ) -> Result < Self , Report > { trace ! ( " " filename ) ; let contents = read_to_string ( & filename ) . wrap_err_with ( | | format ! ( " " filename ) ) ? ; Self :: load_str ( & contents ) . wrap_err_with ( | | format ! ( " " filename ) ) }
Load and validate events from the given YAML file.
Load and validate events from the given YAML file .
filename
&Path