Enum oracle::StartupMode
source · pub enum StartupMode {
Force,
Restrict,
}
Expand description
Database startup mode
Variants§
Force
Shuts down a running instance (if there is any) using ABORT before starting a new one. This mode should be used only in unusual circumstances.
Restrict
Allows database access only to users with both the CREATE SESSION and RESTRICTED SESSION privileges (normally, the DBA).
Trait Implementations§
source§impl Clone for StartupMode
impl Clone for StartupMode
source§fn clone(&self) -> StartupMode
fn clone(&self) -> StartupMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StartupMode
impl Debug for StartupMode
source§impl PartialEq for StartupMode
impl PartialEq for StartupMode
source§fn eq(&self, other: &StartupMode) -> bool
fn eq(&self, other: &StartupMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StartupMode
impl Eq for StartupMode
impl StructuralPartialEq for StartupMode
Auto Trait Implementations§
impl RefUnwindSafe for StartupMode
impl Send for StartupMode
impl Sync for StartupMode
impl Unpin for StartupMode
impl UnwindSafe for StartupMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more