1 2 3 4 5 6 7 8 9
use crate::error::Result; use crate::v1::model::multiplayer::{GetMatchParams, MultiplayerResponse}; pub trait IMultiplayer { fn get_match( &self, params: GetMatchParams, ) -> impl std::future::Future<Output = Result<MultiplayerResponse>>; }