1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
/// Used by `SQLBindParameter`.
#[repr(i16)]
#[allow(non_camel_case_types)]
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub enum InputOutput {
    SQL_PARAM_TYPE_UNKNOWN = 0,
    SQL_PARAM_INPUT = 1,
    SQL_PARAM_INPUT_OUTPUT = 2,
    SQL_RESULT_COL = 3,
    SQL_PARAM_OUTPUT = 4,
    SQL_RETURN_VALUE = 5,
    #[cfg(feature = "odbc_version_3_80")]
    SQL_PARAM_INPUT_OUTPUT_STREAM = 8,
    #[cfg(feature = "odbc_version_3_80")]
    SQL_PARAM_OUTPUT_STREAM = 16,
}
pub use InputOutput::*;