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

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().

Trait Implementations

impl Clone for ODPIShutdownMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ODPIShutdownMode
[src]

impl Debug for ODPIShutdownMode
[src]

Formats the value using the given formatter.

impl Eq for ODPIShutdownMode
[src]

impl Hash for ODPIShutdownMode
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for ODPIShutdownMode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.