pub fn encode_execute<P>(
    stream: &mut impl Write,
    sql: &str,
    bind_params: &P
) -> Result<(), Error>
where P: ToTupleBuffer + ?Sized,