Trait TicTacToeProxyInterface

Source
pub trait TicTacToeProxyInterface: Send + Sync {
    type MakeMoveResponseFut: Future<Output = Result<(bool, Option<Box<GameState>>), Error>> + Send;

    // Required methods
    fn start_game(&self, start_first: bool) -> Result<(), Error>;
    fn make_move(&self, row: u8, col: u8) -> Self::MakeMoveResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn start_game(&self, start_first: bool) -> Result<(), Error>

Source

fn make_move(&self, row: u8, col: u8) -> Self::MakeMoveResponseFut

Implementors§

Source§

impl TicTacToeProxyInterface for TicTacToeProxy

Source§

type MakeMoveResponseFut = QueryResponseFut<(bool, Option<Box<GameState>>), FDomainResourceDialect>