Struct ibm_db::Connection [−][src]
pub struct Connection<'env, AC: AutocommitMode> { /* fields omitted */ }
Expand description
Represents a connection to an ODBC data source
Implementations
true
if the data source is set to READ ONLY mode, false
otherwise.
This characteristic pertains only to the data source itself; it is not characteristic of the driver that enables access to the data source. A driver that is read/write can be used with a data source that is read-only. If a driver is read-only, all of its data sources must be read-only.
Closes the connection to the data source. If not called explicitly the disconnect will be
invoked implicitly by drop()
Trait Implementations
Used to identify the type of the handle in various functions of the ODBC C interface
Auto Trait Implementations
impl<'env, AC> RefUnwindSafe for Connection<'env, AC> where
AC: RefUnwindSafe,
impl<'env, AC> !Send for Connection<'env, AC>
impl<'env, AC> !Sync for Connection<'env, AC>
impl<'env, AC> Unpin for Connection<'env, AC> where
AC: Unpin,
impl<'env, AC> UnwindSafe for Connection<'env, AC> where
AC: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn diagnostics(
&self,
rec_number: i16,
message_text: &mut [u8]
) -> ReturnOption<DiagResult, ()>
pub fn diagnostics(
&self,
rec_number: i16,
message_text: &mut [u8]
) -> ReturnOption<DiagResult, ()>
Returns the current values of multiple fields of a diagnostic record that contains error, warning, and status information. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V