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.