pub fn check_extensions(
    entry: &Entry,
    required_extensions: &Vec<String>,
) -> Result<()> {
    let missing = missing_extensions(entry, required_extensions)?;
    if !missing.is_empty() {
        bail!("Some required extensions were not found!\n{:?}", missing);
    }
    Ok(())
}
/// Bail if any of the required extensions is not supported by the instance.
Bail if any of the required extensions is not supported by the instance.
Bail if any of the required extensions is not supported by the instance .
pub fn check_extensions(
    entry: &Entry,
    required_extensions: &Vec<String>,
) -> Result<()> {
    let missing = missing_extensions(entry, required_extensions)?;
    if !missing.is_empty() {
        bail!("Some required extensions were not found!\n{:?}", missing);
    }
    Ok(())
}
pub fn check_extensions ( entry : & Entry , required_extensions : & Vec < String > , ) -> Result < ( ) > { let missing = missing_extensions ( entry , required_extensions ) ? ; if ! missing . is_empty ( ) { bail ! ( " \n " missing ) ; } Ok ( ( ) ) }
Bail if any of the required extensions is not supported by the instance.
Bail if any of the required extensions is not supported by the instance .
entry
&Entry
required_extensions
&Vec<String>