fn load_saver_keys(file_name: &str) -> SaverKeys<Bls12> {
    let file = match File::open(format!("{}.saver", file_name)) {
        Ok(file) => file,
        Err(_) => {
            load_params(file_name);
            File::open(format!("{}.saver", file_name)).expect("The file should exist now.")
        }
    };
    SaverKeys::read(BufReader::new(file)).expect("Cannot read from file.")
}
/// Function to load the saver keys of type `file_name` from the corresponding file. If the file
/// does not exist, the parameters are generated and written to a new file with name `file_name`.
Function to load the saver keys of type `file_name` from the corresponding file. If the file
does not exist, the parameters are generated and written to a new file with name `file_name`.
Function to load the saver keys of type ` file_name ` from the corresponding file . If the file does not exist the parameters are generated and written to a new file with name ` file_name ` .
fn load_saver_keys(file_name: &str) -> SaverKeys<Bls12> {
    let file = match File::open(format!("{}.saver", file_name)) {
        Ok(file) => file,
        Err(_) => {
            load_params(file_name);
            File::open(format!("{}.saver", file_name)).expect("The file should exist now.")
        }
    };
    SaverKeys::read(BufReader::new(file)).expect("Cannot read from file.")
}
fn load_saver_keys ( file_name : & str ) -> SaverKeys < Bls12 > { let file = match File :: open ( format ! ( " " file_name ) ) { Ok ( file ) => file , Err ( _ ) => { load_params ( file_name ) ; File :: open ( format ! ( " " file_name ) ) . expect ( " " ) } } ; SaverKeys :: read ( BufReader :: new ( file ) ) . expect ( " " ) }
Function to load the saver keys of type `file_name` from the corresponding file.
Function to load the saver keys of type ` file_name ` from the corresponding file .
file_name
&str
file_name
&str