Enum usiagent::command::CheckMate[][src]

pub enum CheckMate {
    Moves(Vec<Move>),
    NotiImplemented,
    Timeout,
    Nomate,
    Abort,
}
Expand description

詰め将棋の解答

Variants

Moves(Vec<Move>)

詰みまでの指し手

Tuple Fields of Moves

0: Vec<Move>
NotiImplemented

未実装であることをGUI側に伝える

Timeout

時間内に詰みを見つけられなかった

Nomate

詰まない

Abort

中断(USIプロトコルの仕様にはない。返してもGUI側にコマンドは送信されない)

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

状態が正しければtrueを、そうでなければfalseを返す

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.

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.