pub trait MachineRoomResolver: Send + Sync {
// Required methods
fn broker_deploy_in(
&self,
message_queue: &MessageQueue,
) -> Option<CheetahString>;
fn consumer_deploy_in(
&self,
client_id: &CheetahString,
) -> Option<CheetahString>;
}Expand description
Resolves the deployment room of brokers and consumers.
Required Methods§
fn broker_deploy_in( &self, message_queue: &MessageQueue, ) -> Option<CheetahString>
fn consumer_deploy_in(&self, client_id: &CheetahString) -> Option<CheetahString>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".