diff options
| author | Flaise <[email protected]> | 2019-08-02 17:33:08 -0500 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2019-08-14 15:47:04 +0100 |
| commit | ac6e49dba46ddec14efe60b8ca10451bbeddcc44 (patch) | |
| tree | 3885dba3813307278871ee6d3e22fba6e9f2539a /src/matchmaking.rs | |
| parent | Made serde dependency optional (diff) | |
| download | steamworks-rs-ac6e49dba46ddec14efe60b8ca10451bbeddcc44.tar.xz steamworks-rs-ac6e49dba46ddec14efe60b8ca10451bbeddcc44.zip | |
Implemented P2PSessionConnectFail callback and removed a result handler's Sync requirement
Diffstat (limited to 'src/matchmaking.rs')
| -rw-r--r-- | src/matchmaking.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/matchmaking.rs b/src/matchmaking.rs index 8b9f2f7..f3e3b94 100644 --- a/src/matchmaking.rs +++ b/src/matchmaking.rs @@ -52,7 +52,7 @@ impl LobbyId { impl <Manager> Matchmaking<Manager> { pub fn request_lobby_list<F>(&self, mut cb: F) - where F: FnMut(Result<Vec<LobbyId>, SteamError>) + 'static + Send + Sync + where F: FnMut(SResult<Vec<LobbyId>>) + 'static + Send { unsafe { let api_call = sys::SteamAPI_ISteamMatchmaking_RequestLobbyList(self.mm); |