[][src]Enum oracle::ShutdownMode

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

Database shutdown mode

See Connection.shutdown_database.

Variants

Default

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

Transactional

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

TransactionalLocal

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

Immediate

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

Abort

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.

Final

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 Clone for ShutdownMode[src]

impl PartialEq<ShutdownMode> for ShutdownMode[src]

impl Copy for ShutdownMode[src]

impl Debug for ShutdownMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Err = <U as TryFrom<T>>::Err