Enum usiagent::event::SystemEvent [−][src]
pub enum SystemEvent {
Usi,
IsReady,
SetOption(String, SysEventOption),
UsiNewGame,
Position(Teban, UsiInitialPosition, u32, Vec<Move>),
Go(UsiGo),
Stop,
PonderHit,
Quit,
GameOver(GameEndState),
SendUsiCommand(UsiOutput),
QuitReady,
}Expand description
システムイベント
Variants
usiコマンド受信イベント
isreadyコマンド受信イベント
SetOption(String, SysEventOption)setoptionコマンド受信イベント
Tuple Fields of SetOption
0: String1: SysEventOptionusinewgameコマンド受信イベント
Position(Teban, UsiInitialPosition, u32, Vec<Move>)positionコマンド受信イベント
Tuple Fields of Position
Go(UsiGo)goコマンド受信イベント
Tuple Fields of Go
0: UsiGostopコマンド受信イベント
ponderhitコマンド受信イベント
quitコマンド受信イベント
GameOver(GameEndState)gomeoverコマンド受信イベント
Tuple Fields of GameOver
0: GameEndStateSendUsiCommand(UsiOutput)USIコマンド送信要求
Tuple Fields of SendUsiCommand
0: UsiOutput終了