pub fn encode_encrypt(encrypt: Encrypt) -> u8
Maps SQL Server connection encryption preferences to the TDS pre-login byte.