Skip to main content

Module backend

Module backend 

Expand description

Host backends: what the game answers the API with.

Enums§

ActionOutcome
What a fake player’s action did once it ran.
ActionRefused
Why a fake player’s perform_action did nothing at all: it was refused before any of the action ran.

Traits§

NoBackend
An error a handle method answers when its host has no game behind it (a mod’s test double): what a Result-returning helper refuses with, as None and false are for the others.