[−][src]Trait ggpf_gym::GymRunner
Associated Types
type InitFut: Future<Output = ()>
The response future returned by init.
type ResetFut: Future<Output = SpaceData>
The response future returned by reset.
type PlayFut: Future<Output = State>
The response future returned by play.
type ActionSpaceFut: Future<Output = SpaceTemplate>
The response future returned by action_space.
type ObservationSpaceFut: Future<Output = SpaceTemplate>
The response future returned by observation_space.
Required methods
fn init(self, context: Context, name: String, render: bool) -> Self::InitFut
fn reset(self, context: Context) -> Self::ResetFut
fn play(self, context: Context, action: usize) -> Self::PlayFut
fn action_space(self, context: Context) -> Self::ActionSpaceFut
fn observation_space(self, context: Context) -> Self::ObservationSpaceFut
Provided methods
fn serve(self) -> ServeGymRunner<Self>
Returns a serving function to use with tarpc::server::Server.