You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mssql.rs
    path of file: ./repos/prisma-engines/libs/test-setup/src
    
    the code of the file until where you have to start completion: use crate::{runtime::run_with_thread_local_runtime as tok, Tags};
use connection_stri
    
pub(crate) fn get_mssql_tags(database_url: &str) -> Result<BitFlags<Tags>, String> {
    let fut = async {
        let quaint = Quaint::new(database_url).await.map_err(|err| err.to_string())?;
        let mut tags = Tags::Mssql.into();

        let version = quaint.version().await.map_err(|err| err.to_string())?;

        if let Some(version) = version {
            if version.starts_with("Microsoft SQL Server 2017") {
                tags |= Tags::Mssql2017;
            }

            if version.starts_with("Microsoft SQL Server 2019") {
                tags |= Tags::Mssql2019;
            }
        }

        Ok(tags)
    };

    tok(fut)
}