Skip to content

Commit ccb6e11

Browse files
committed
exec_profiles: Implemented Default for ExecutionProfileBuilder
1 parent 485cd80 commit ccb6e11

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scylla/src/transport/execution_profile.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,12 @@ impl ExecutionProfileBuilder {
379379
}
380380
}
381381

382+
impl Default for ExecutionProfileBuilder {
383+
fn default() -> Self {
384+
ExecutionProfile::builder()
385+
}
386+
}
387+
382388
/// A profile that groups configurable options regarding query execution.
383389
///
384390
/// Execution profile is immutable as such, but the driver implements double indirection of form:

0 commit comments

Comments
 (0)