Enum odbc_api::DriverCompleteOption
source · [−]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
sourceimpl DriverCompleteOption
impl DriverCompleteOption
pub fn as_sys(&self) -> DriverConnectOption
Auto Trait Implementations
impl RefUnwindSafe for DriverCompleteOption
impl Send for DriverCompleteOption
impl Sync for DriverCompleteOption
impl Unpin for DriverCompleteOption
impl UnwindSafe for DriverCompleteOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more