pub trait NodeCalculator:
Send
+ Sync
+ 'static {
// Required method
fn num_nodes(&self) -> impl Future<Output = usize> + Send;
}Expand description
Used to calculate the number of nodes in the cluster.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".