Module gorrosion_gtp::messages

source ·
Expand description

In GTP, commands are sent one way (Controller -> Engine) and responses another (Engine -> Controller). Representations of both of these, ready to be sent out, are provided here.

Structs

A command that can be sent to some engine via write_gtp. Bring your own engine.
A response that can be sent to some controller via write_gtp, ideally matching a previously received command. Bring your own controller.

Traits

One of the two most-relevant traits of all: Write your content according to the rules of to some manner of output.