Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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).
- Loading branch information