#[repr(u32)]
pub enum ODPIShutdownMode {
DefaultShutdownMode,
Transactional,
TransactionalLocal,
Immediate,
Abort,
Final,
}
This enumeration identifies the mode to use when shutting down a database using
dpiConn_shutdownDatabase()
.
Further connections to the database are prohibited. Wait for users to disconnect from the
database.
Further connections to the database are prohibited and no new transactions are allowed to be
started. Wait for active transactions to complete.
Behaves the same way as Transactional
but only waits for local transactions to complete.
All uncommitted transactions are terminated and rolled back and all connections to the
database are closed immediately.
All uncommitted transactions are terminated and are not rolled back. This is the fastest way
to shut down the database but the next database startup may require instance recovery.
Shuts down the database. This mode should only be used in the second call to
dpiConn_shutdownDatabase().
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.