pub struct RabbitMQCommunicator { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Communicator for RabbitMQCommunicator
impl Communicator for RabbitMQCommunicator
Source§async fn on_match_abrupt_close<F, Fut>(&self, callback: F)
async fn on_match_abrupt_close<F, Fut>(&self, callback: F)
Registers a callback for when a match is abruptly closed. Read more
Source§async fn on_game_create<F, Fut>(&self, callback: F)
async fn on_game_create<F, Fut>(&self, callback: F)
Registers a callback for when a game server is created. Read more
Source§async fn on_match_created<F, Fut>(&self, callback: F)
async fn on_match_created<F, Fut>(&self, callback: F)
Registers a callback for when a match is created. Read more
Source§async fn on_match_result<F, Fut>(&self, callback: F)
async fn on_match_result<F, Fut>(&self, callback: F)
Registers a callback for when a match result is reported. Read more
Source§async fn on_match_create<F, Fut>(&self, callback: F)
async fn on_match_create<F, Fut>(&self, callback: F)
Registers a callback for when a match creation request is received. Read more
Source§async fn create_game(
&self,
game_server: &GameServerCreate,
) -> Result<(), Box<dyn Error>>
async fn create_game( &self, game_server: &GameServerCreate, ) -> Result<(), Box<dyn Error>>
Creates a game on the game server. Read more
Source§async fn create_match(&self, match_request: &CreateMatch)
async fn create_match(&self, match_request: &CreateMatch)
Creates a match based on the provided match request. Read more
Source§async fn report_match_abrupt_close(&self, match_close: &MatchAbrubtClose)
async fn report_match_abrupt_close(&self, match_close: &MatchAbrubtClose)
Reports that a match was abruptly closed. Read more
Source§async fn report_match_created(&self, created_match: &CreatedMatch)
async fn report_match_created(&self, created_match: &CreatedMatch)
Reports that a match has been created. Read more
Source§async fn create_ai_task(&self, task: &Task)
async fn create_ai_task(&self, task: &Task)
Sends a message to create a new AI-Task. Read more
Source§async fn report_match_result(&self, match_result: &MatchResult)
async fn report_match_result(&self, match_result: &MatchResult)
Reports the result of a match. Read more
Source§async fn send_health_check(&self, client_id: String)
async fn send_health_check(&self, client_id: String)
Sends a health check to the specified client. Read more
Source§async fn on_health_check<F, Fut>(&self, callback: F)
async fn on_health_check<F, Fut>(&self, callback: F)
Registers a callback for health check events. Read more
Source§async fn on_ai_register<F, Fut>(&self, callback: F)
async fn on_ai_register<F, Fut>(&self, callback: F)
Registers a callback for when a new ai-player is registered. Read more
Source§async fn register_ai_player(&self, ai_player: &AIPlayerRegister)
async fn register_ai_player(&self, ai_player: &AIPlayerRegister)
Sends a message to create a new AI-Player. Read more
Auto Trait Implementations§
impl Freeze for RabbitMQCommunicator
impl !RefUnwindSafe for RabbitMQCommunicator
impl Send for RabbitMQCommunicator
impl Sync for RabbitMQCommunicator
impl Unpin for RabbitMQCommunicator
impl UnsafeUnpin 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