Enum usiagent::error::SelfMatchRunningError [−][src]
pub enum SelfMatchRunningError<E> where
E: PlayerError, {
InvalidState(String),
PlayerError(E),
PlayerThreadError(usize),
IOError(Error),
KifuWriteError(KifuWriteError),
RecvError(RecvError),
SendError(SendError<SelfMatchMessage>),
ThreadJoinFailed(String),
Fail(String),
}Expand description
自己対局機能実行時のエラー
Variants
InvalidState(String)状態不正
Tuple Fields of InvalidState
0: StringUSIPlayerの実装がエラーを投げた
PlayerThreadError(usize)プレイヤースレッド内でエラー発生
Tuple Fields of PlayerThreadError
0: usizeIOError(Error)入出力時のエラー
Tuple Fields of IOError
0: ErrorKifuWriteError(KifuWriteError)棋譜書き込み時のエラー
Tuple Fields of KifuWriteError
crossbeam_channelによるメッセージ受信時のエラー
SendError(SendError<SelfMatchMessage>)crossbeam_channelによるメッセージ送信時のエラー
Tuple Fields of SendError
0: SendError<SelfMatchMessage>ThreadJoinFailed(String)ブリッジスレッド内でエラー発生
Tuple Fields of ThreadJoinFailed
0: StringFail(String)その他
Tuple Fields of Fail
0: StringTrait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
impl<E> From<TypeConvertError<String>> for SelfMatchRunningError<E> where
String: Debug,
E: PlayerError,
impl<E> From<TypeConvertError<String>> for SelfMatchRunningError<E> where
String: Debug,
E: PlayerError,
Performs the conversion.