Enum mimir::enums::ODPIShutdownMode
[−]
[src]
#[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()
.
Variants
DefaultShutdownMode
Further connections to the database are prohibited. Wait for users to disconnect from the database.
Transactional
Further connections to the database are prohibited and no new transactions are allowed to be started. Wait for active transactions to complete.
TransactionalLocal
Behaves the same way as Transactional
but only waits for local transactions to complete.
Immediate
All uncommitted transactions are terminated and rolled back and all connections to the database are closed immediately.
Abort
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.
Final
Shuts down the database. This mode should only be used in the second call to dpiConn_shutdownDatabase().
Trait Implementations
impl Clone for ODPIShutdownMode
[src]
fn clone(&self) -> ODPIShutdownMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ODPIShutdownMode
[src]
impl Debug for ODPIShutdownMode
[src]
impl Eq for ODPIShutdownMode
[src]
impl Hash for ODPIShutdownMode
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more