Skip to content

Commit f09c666

Browse files
committed
fix: revert snowflake driver's change
1 parent f449624 commit f09c666

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rust/driver/snowflake/src/database/builder.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ use crate::{
4040

4141
/// Authentication types.
4242
#[derive(Copy, Clone, Debug, Default)]
43+
#[non_exhaustive]
4344
pub enum AuthType {
4445
/// General username password authentication
4546
#[default]
@@ -102,6 +103,7 @@ impl str::FromStr for AuthType {
102103

103104
/// Protocol types.
104105
#[derive(Copy, Clone, Debug, Default)]
106+
#[non_exhaustive]
105107
pub enum Protocol {
106108
/// Use `https`.
107109
#[default]
@@ -144,6 +146,7 @@ impl str::FromStr for Protocol {
144146

145147
/// Log levels.
146148
#[derive(Copy, Clone, Debug, Default)]
149+
#[non_exhaustive]
147150
pub enum LogLevel {
148151
/// Trace level
149152
Trace,

0 commit comments

Comments
 (0)