Enum mimir::enums::ODPIStartupMode
[−]
[src]
#[repr(u32)]pub enum ODPIStartupMode { DefaultStartupMode, Force, Restrict, }
This enumeration identifies the mode to use when starting up a database using
dpiConn_startupDatabase()
.
Variants
DefaultStartupMode
Default mode for startup which permits database access to all users.
Force
Shuts down a running instance (using ABORT) before starting a new one. This mode should only be used in unusual circumstances.
Restrict
Only allows database access to users with both the CREATE SESSION and RESTRICTED SESSION privileges (normally the DBA).
Trait Implementations
impl Clone for ODPIStartupMode
[src]
fn clone(&self) -> ODPIStartupMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ODPIStartupMode
[src]
impl Debug for ODPIStartupMode
[src]
impl Eq for ODPIStartupMode
[src]
impl Hash for ODPIStartupMode
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more