Enum oracle::ShutdownMode [] [src]

pub enum ShutdownMode {
    Default,
    Transactional,
    TransactionalLocal,
    Immediate,
    Abort,
    Final,
}

Database shutdown mode

See Connection.shutdown_database.

Variants

Further connects are prohibited. Waits for users to disconnect from the database.

Further connects are prohibited and no new transactions are allowed. Waits for active transactions to complete.

Further connects are prohibited and no new transactions are allowed. Waits only for local transactions to complete.

Does not wait for current calls to complete or users to disconnect from the database. All uncommitted transactions are terminated and rolled back.

Does not wait for current calls to complete or users to disconnect from the database. All uncommitted transactions are terminated and are not rolled back. This is the fastest possible way to shut down the database, but the next database startup may require instance recovery. Therefore, this option should be used only in unusual circumstances; for example, if a background process terminates abnormally.

Shuts down the database. Should be used only in the second call to shutdown_database after the database is closed and dismounted.

Trait Implementations

impl Debug for ShutdownMode
[src]

[src]

Formats the value using the given formatter.

impl Copy for ShutdownMode
[src]

impl Clone for ShutdownMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ShutdownMode
[src]

[src]

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

1.0.0
[src]

This method tests for !=.