Enum odbc_sys::ConnectionAttribute
source · #[repr(i32)]
pub enum ConnectionAttribute {
Show 22 variants
AsyncEnable,
AccessMode,
AutoCommit,
LoginTimeout,
Trace,
TraceFile,
TranslateLib,
TranslateOption,
TxnIsolation,
CurrentCatalog,
OdbcCursors,
QuietMode,
PacketSize,
ConnectionTimeout,
DisconnectBehaviour,
AsyncDbcFunctionsEnable,
AsyncDbcEvent,
EnlistInDtc,
EnlistInXa,
ConnectionDead,
AutoIpd,
MetadataId,
}
Expand description
Connection attributes for SQLSetConnectAttr
Variants§
AsyncEnable
AccessMode
AutoCommit
LoginTimeout
Trace
TraceFile
TranslateLib
TranslateOption
TxnIsolation
CurrentCatalog
OdbcCursors
QuietMode
PacketSize
ConnectionTimeout
DisconnectBehaviour
AsyncDbcFunctionsEnable
AsyncDbcEvent
EnlistInDtc
EnlistInXa
ConnectionDead
AutoIpd
MetadataId
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<ConnectionAttribute> for ConnectionAttribute
impl PartialEq<ConnectionAttribute> 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 ==
.