Skip to content

Commit a484a4c

Browse files
committed
fix doc being missing for ExecutionProfileHandle::load_balancing_policy
1 parent 84ee6aa commit a484a4c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scylla/src/transport/execution_profile.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,10 @@ impl ExecutionProfileHandle {
486486
self.0 .0.store(profile.0)
487487
}
488488

489+
/// Get the load balancing policy associated with this execution profile.
490+
///
491+
/// This may be useful if one wants to construct a new load balancing policy that is based on the one associated
492+
/// with this execution profile.
489493
pub fn load_balancing_policy(&self) -> Arc<dyn LoadBalancingPolicy> {
490494
self.0 .0.load().load_balancing_policy.clone()
491495
}

0 commit comments

Comments
 (0)