FunctionId

Enum FunctionId 

Source
pub enum FunctionId {
Show 60 variants SQL_API_ODBC3_ALL_FUNCTIONS = 999, SQL_API_SQLALLOCCONNECT = 1, SQL_API_SQLALLOCENV = 2, SQL_API_SQLALLOCHANDLE = 1_001, SQL_API_SQLALLOCSTMT = 3, SQL_API_SQLBINDCOL = 4, SQL_API_SQLBINDPARAM = 1_002, SQL_API_SQLCANCEL = 5, SQL_API_SQLCLOSECURSOR = 1_003, SQL_API_SQLCOLATTRIBUTE = 6, SQL_API_SQLCOLUMNS = 40, SQL_API_SQLCONNECT = 7, SQL_API_SQLCOPYDESC = 1_004, SQL_API_SQLDATASOURCES = 57, SQL_API_SQLDESCRIBECOL = 8, SQL_API_SQLDISCONNECT = 9, SQL_API_SQLENDTRAN = 1_005, SQL_API_SQLERROR = 10, SQL_API_SQLEXECDIRECT = 11, SQL_API_SQLEXECUTE = 12, SQL_API_SQLFETCH = 13, SQL_API_SQLFETCHSCROLL = 1_021, SQL_API_SQLFREECONNECT = 14, SQL_API_SQLFREEENV = 15, SQL_API_SQLFREEHANDLE = 1_006, SQL_API_SQLFREESTMT = 16, SQL_API_SQLGETCONNECTATTR = 1_007, SQL_API_SQLGETCONNECTOPTION = 42, SQL_API_SQLGETCURSORNAME = 17, SQL_API_SQLGETDATA = 43, SQL_API_SQLGETDESCFIELD = 1_008, SQL_API_SQLGETDESCREC = 1_009, SQL_API_SQLGETDIAGFIELD = 1_010, SQL_API_SQLGETDIAGREC = 1_011, SQL_API_SQLGETENVATTR = 1_012, SQL_API_SQLGETFUNCTIONS = 44, SQL_API_SQLGETINFO = 45, SQL_API_SQLGETSTMTATTR = 1_014, SQL_API_SQLGETSTMTOPTION = 46, SQL_API_SQLGETTYPEINFO = 47, SQL_API_SQLNUMRESULTCOLS = 18, SQL_API_SQLPARAMDATA = 48, SQL_API_SQLPREPARE = 19, SQL_API_SQLPUTDATA = 49, SQL_API_SQLROWCOUNT = 20, SQL_API_SQLSETCONNECTATTR = 1_016, SQL_API_SQLSETCONNECTOPTION = 50, SQL_API_SQLSETCURSORNAME = 21, SQL_API_SQLSETDESCFIELD = 1_017, SQL_API_SQLSETDESCREC = 1_018, SQL_API_SQLSETENVATTR = 1_019, SQL_API_SQLSETPARAM = 22, SQL_API_SQLSETSTMTATTR = 1_020, SQL_API_SQLSETSTMTOPTION = 51, SQL_API_SQLSPECIALCOLUMNS = 52, SQL_API_SQLSTATISTICS = 53, SQL_API_SQLTABLES = 54, SQL_API_SQLTRANSACT = 23, SQL_API_SQLCANCELHANDLE = 1_550, SQL_API_SQLCOMPLETEASYNC = 1_551,
}

Variants§

§

SQL_API_ODBC3_ALL_FUNCTIONS = 999

§

SQL_API_SQLALLOCCONNECT = 1

§

SQL_API_SQLALLOCENV = 2

§

SQL_API_SQLALLOCHANDLE = 1_001

§

SQL_API_SQLALLOCSTMT = 3

§

SQL_API_SQLBINDCOL = 4

§

SQL_API_SQLBINDPARAM = 1_002

§

SQL_API_SQLCANCEL = 5

§

SQL_API_SQLCLOSECURSOR = 1_003

§

SQL_API_SQLCOLATTRIBUTE = 6

§

SQL_API_SQLCOLUMNS = 40

§

SQL_API_SQLCONNECT = 7

§

SQL_API_SQLCOPYDESC = 1_004

§

SQL_API_SQLDATASOURCES = 57

§

SQL_API_SQLDESCRIBECOL = 8

§

SQL_API_SQLDISCONNECT = 9

§

SQL_API_SQLENDTRAN = 1_005

§

SQL_API_SQLERROR = 10

§

SQL_API_SQLEXECDIRECT = 11

§

SQL_API_SQLEXECUTE = 12

§

SQL_API_SQLFETCH = 13

§

SQL_API_SQLFETCHSCROLL = 1_021

§

SQL_API_SQLFREECONNECT = 14

§

SQL_API_SQLFREEENV = 15

§

SQL_API_SQLFREEHANDLE = 1_006

§

SQL_API_SQLFREESTMT = 16

§

SQL_API_SQLGETCONNECTATTR = 1_007

§

SQL_API_SQLGETCONNECTOPTION = 42

§

SQL_API_SQLGETCURSORNAME = 17

§

SQL_API_SQLGETDATA = 43

§

SQL_API_SQLGETDESCFIELD = 1_008

§

SQL_API_SQLGETDESCREC = 1_009

§

SQL_API_SQLGETDIAGFIELD = 1_010

§

SQL_API_SQLGETDIAGREC = 1_011

§

SQL_API_SQLGETENVATTR = 1_012

§

SQL_API_SQLGETFUNCTIONS = 44

§

SQL_API_SQLGETINFO = 45

§

SQL_API_SQLGETSTMTATTR = 1_014

§

SQL_API_SQLGETSTMTOPTION = 46

§

SQL_API_SQLGETTYPEINFO = 47

§

SQL_API_SQLNUMRESULTCOLS = 18

§

SQL_API_SQLPARAMDATA = 48

§

SQL_API_SQLPREPARE = 19

§

SQL_API_SQLPUTDATA = 49

§

SQL_API_SQLROWCOUNT = 20

§

SQL_API_SQLSETCONNECTATTR = 1_016

§

SQL_API_SQLSETCONNECTOPTION = 50

§

SQL_API_SQLSETCURSORNAME = 21

§

SQL_API_SQLSETDESCFIELD = 1_017

§

SQL_API_SQLSETDESCREC = 1_018

§

SQL_API_SQLSETENVATTR = 1_019

§

SQL_API_SQLSETPARAM = 22

§

SQL_API_SQLSETSTMTATTR = 1_020

§

SQL_API_SQLSETSTMTOPTION = 51

§

SQL_API_SQLSPECIALCOLUMNS = 52

§

SQL_API_SQLSTATISTICS = 53

§

SQL_API_SQLTABLES = 54

§

SQL_API_SQLTRANSACT = 23

§

SQL_API_SQLCANCELHANDLE = 1_550

§

SQL_API_SQLCOMPLETEASYNC = 1_551

Trait Implementations§

Source§

impl AttrZeroAssert for FunctionId

Source§

impl Clone for FunctionId

Source§

fn clone(&self) -> FunctionId

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FunctionId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Ident for FunctionId

Source§

const IDENTIFIER: Self::Type = {transmute(0xfff9): <FunctionId as Ident>::Type}

Source§

type Type = <u16 as Ident>::Type

Source§

impl IntoSQLPOINTER for FunctionId

Source§

impl PartialEq<FunctionId> for SQLUSMALLINT

Source§

fn eq(&self, other: &FunctionId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<u16> for FunctionId

Source§

fn eq(&self, other: &SQLUSMALLINT) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq for FunctionId

Source§

fn eq(&self, other: &FunctionId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u16> for FunctionId

Source§

type Error = u16

The type returned in the event of a conversion error.
Source§

fn try_from(source: SQLUSMALLINT) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for FunctionId

Source§

impl Eq for FunctionId

Source§

impl Scalar for FunctionId

Source§

impl StructuralPartialEq for FunctionId

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsMutPtr<T> for T
where T: Scalar,

Source§

fn as_mut_ptr(&mut self) -> *mut T

Source§

impl<AD, T, LEN> AttrLen<AD, LEN> for T
where AD: Def, T: Ident, LEN: Scalar + From<i16>, MaybeUninit<T>: AttrLen<AD, LEN>,

Source§

type StrLen = Void

Invariant: StrLen can only be LEN(for slices) or uninhabited type(for scalar types) It is assumed that ODBC driver will never write to StrLen pointer for scalar types
Source§

fn len(&self) -> LEN

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StrLen<T> for T
where T: Scalar + AsMutPtr<T>,

Source§

fn as_mut_ptr(&mut self) -> *mut T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Ansi for T
where T: Ident,

Source§

impl<T> Ref<'_> for T
where T: Scalar,

Source§

impl<T> Unicode for T
where T: Ident,