Enum odbc_sys::ConnectionAttribute
source · #[repr(i32)]pub enum ConnectionAttribute {
Show 22 variants
AsyncEnable = 4,
AccessMode = 101,
AutoCommit = 102,
LoginTimeout = 103,
Trace = 104,
TraceFile = 105,
TranslateLib = 106,
TranslateOption = 107,
TxnIsolation = 108,
CurrentCatalog = 109,
OdbcCursors = 110,
QuietMode = 111,
PacketSize = 112,
ConnectionTimeout = 113,
DisconnectBehaviour = 114,
AsyncDbcFunctionsEnable = 117,
AsyncDbcEvent = 119,
EnlistInDtc = 1_207,
EnlistInXa = 1_208,
ConnectionDead = 1_209,
AutoIpd = 10_001,
MetadataId = 10_014,
}
Expand description
Connection attributes for SQLSetConnectAttr
Variants§
AsyncEnable = 4
AccessMode = 101
AutoCommit = 102
LoginTimeout = 103
Trace = 104
TraceFile = 105
TranslateLib = 106
TranslateOption = 107
TxnIsolation = 108
CurrentCatalog = 109
OdbcCursors = 110
QuietMode = 111
PacketSize = 112
ConnectionTimeout = 113
DisconnectBehaviour = 114
AsyncDbcFunctionsEnable = 117
AsyncDbcEvent = 119
EnlistInDtc = 1_207
EnlistInXa = 1_208
ConnectionDead = 1_209
AutoIpd = 10_001
MetadataId = 10_014
Trait Implementations§
source§impl Clone for ConnectionAttribute
impl Clone for ConnectionAttribute
source§fn clone(&self) -> ConnectionAttribute
fn clone(&self) -> ConnectionAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectionAttribute
impl Debug for ConnectionAttribute
source§impl PartialEq for ConnectionAttribute
impl PartialEq for ConnectionAttribute
source§fn eq(&self, other: &ConnectionAttribute) -> bool
fn eq(&self, other: &ConnectionAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConnectionAttribute
impl Eq for ConnectionAttribute
impl StructuralEq for ConnectionAttribute
impl StructuralPartialEq for ConnectionAttribute
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionAttribute
impl Send for ConnectionAttribute
impl Sync for ConnectionAttribute
impl Unpin for ConnectionAttribute
impl UnwindSafe for ConnectionAttribute
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more