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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.