implement find by single id
This commit is contained in:
parent
c19f859bcc
commit
b9bfac8c70
2 changed files with 15 additions and 0 deletions
|
|
@ -4,10 +4,14 @@ use rnex_core::rmc::response::ErrorCode;
|
|||
|
||||
use rnex_core::PID;
|
||||
|
||||
use crate::rmc::structures::any::Any;
|
||||
|
||||
#[rmc_proto(21)]
|
||||
pub trait Matchmake {
|
||||
#[method_id(2)]
|
||||
async fn unregister_gathering(&self, gid: u32) -> Result<bool, ErrorCode>;
|
||||
#[method_id(21)]
|
||||
async fn find_by_single_id(&self, gid: u32) -> Result<(bool, Any), ErrorCode>;
|
||||
#[method_id(41)]
|
||||
async fn get_session_urls(&self, gid: u32) -> Result<Vec<StationUrl>, ErrorCode>;
|
||||
#[method_id(42)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue