Enum oracle::ShutdownMode [−][src]
pub enum ShutdownMode { Default, Transactional, TransactionalLocal, Immediate, Abort, Final, }
Database shutdown mode
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 Clone for ShutdownMode
[src]
fn clone(&self) -> ShutdownMode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ShutdownMode
[src]
impl Debug for ShutdownMode
[src]
impl PartialEq<ShutdownMode> for ShutdownMode
[src]
fn eq(&self, other: &ShutdownMode) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ShutdownMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ShutdownMode
impl Send for ShutdownMode
impl Sync for ShutdownMode
impl Unpin for ShutdownMode
impl UnwindSafe for ShutdownMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,