pub struct RabbitMQCommunicator { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Communicator for RabbitMQCommunicator
impl Communicator for RabbitMQCommunicator
async fn on_match_abrupt_close<F, Fut>(&self, callback: F)
async fn on_game_create<F, Fut>(&self, callback: F)where
F: MessageHandler<GameServerCreate, Fut>,
Fut: Future<Output = String> + Send + Sync + 'static,
async fn on_match_created<F, Fut>(&self, callback: F)
async fn on_match_result<F, Fut>(&self, callback: F)
async fn on_match_create<F, Fut>(&self, callback: F)
async fn create_game( &self, game_server: &GameServerCreate, ) -> Result<String, Box<dyn Error>>
async fn create_match(&self, match_request: &CreateMatch)
async fn report_match_abrupt_close(&self, match_close: &MatchAbrubtClose)
async fn report_match_created(&self, created_match: &CreatedMatch)
async fn create_ai_task(&self, task: &Task)
async fn report_match_result(&self, match_result: &MatchResult)
async fn send_health_check(&self, client_id: String)
async fn on_health_check<F, Fut>(&self, callback: F)
Auto Trait Implementations§
impl Freeze for RabbitMQCommunicator
impl !RefUnwindSafe for RabbitMQCommunicator
impl Send for RabbitMQCommunicator
impl Sync for RabbitMQCommunicator
impl Unpin for RabbitMQCommunicator
impl !UnwindSafe for RabbitMQCommunicator
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more