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: String
PlayerError(E)

USIPlayerの実装がエラーを投げた

Tuple Fields of PlayerError

0: E
PlayerThreadError(usize)

プレイヤースレッド内でエラー発生

Tuple Fields of PlayerThreadError

0: usize
IOError(Error)

入出力時のエラー

Tuple Fields of IOError

0: Error
KifuWriteError(KifuWriteError)

棋譜書き込み時のエラー

Tuple Fields of KifuWriteError

0: KifuWriteError
RecvError(RecvError)

crossbeam_channelによるメッセージ受信時のエラー

Tuple Fields of RecvError

0: RecvError
SendError(SendError<SelfMatchMessage>)

crossbeam_channelによるメッセージ送信時のエラー

Tuple Fields of SendError

0: SendError<SelfMatchMessage>
ThreadJoinFailed(String)

ブリッジスレッド内でエラー発生

Tuple Fields of ThreadJoinFailed

0: String
Fail(String)

その他

Tuple Fields of Fail

0: String

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.