pub enum DriverCompleteOption {
NoPrompt,
Prompt,
Complete,
CompleteRequired,
}
Expand description
Specifies how the driver and driver manager complete the incoming connection string. See
crate::Environment::driver_connect
.
Variants§
NoPrompt
Do not show a prompt to the user. This implies that the connection string, must already provide all information needed to Connect to the data source, otherwise the operation fails. This is the only supported variant on non windows platforms
Prompt
Always show a prompt to the user.
Complete
Only show a prompt to the user if the information in the connection string is not sufficient to connect to the data source.
CompleteRequired
Like complete, but the user may not change any information already provided within the connection string.
Implementations§
Source§impl DriverCompleteOption
impl DriverCompleteOption
pub fn as_sys(&self) -> DriverConnectOption
Trait Implementations§
Source§impl Clone for DriverCompleteOption
impl Clone for DriverCompleteOption
Source§fn clone(&self) -> DriverCompleteOption
fn clone(&self) -> DriverCompleteOption
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 DriverCompleteOption
impl Debug for DriverCompleteOption
impl Copy for DriverCompleteOption
Auto Trait Implementations§
impl Freeze for DriverCompleteOption
impl RefUnwindSafe for DriverCompleteOption
impl Send for DriverCompleteOption
impl Sync for DriverCompleteOption
impl Unpin for DriverCompleteOption
impl UnwindSafe for DriverCompleteOption
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