Commit 9df44f6
committed
exec_profile_handle: allow public access to associated profile
Last time, I introduced getters for `ExecutionProfile`.
However, I forgot that in cpp-rust-driver use case, we only have
an access to `ExecutionProfileHandle`...
Since, we can convert handle to builder, I see no objections against
having the ability to convert it to well-defined execution profile.
Obviously, we need to clone an `Arc`. But only a single one.
Notice, however, that when converting to builder,
we need to clone multiple Arcs anyway (e.g. retry or load balancing policies).1 parent da199a1 commit 9df44f6
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
516 | 521 | | |
517 | 522 | | |
518 | 523 | | |
| |||
0 commit comments