pub trait GroupEngineFactory:
Send
+ Sync
+ 'static {
// Required method
fn create<'a>(
&'a self,
placement: ShardPlacement,
metrics: GroupEngineMetrics,
) -> GroupEngineCreateFuture<'a>;
// Provided method
fn hosts_group(&self, _placement: ShardPlacement) -> bool { ... }
}Required Methods§
fn create<'a>( &'a self, placement: ShardPlacement, metrics: GroupEngineMetrics, ) -> GroupEngineCreateFuture<'a>
Provided Methods§
fn hosts_group(&self, _placement: ShardPlacement) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".