[][src]Enum ggpf_gym::GymRunnerRequest

pub enum GymRunnerRequest {
    Init {
        name: String,
        render: bool,
    },
    Reset {},
    Play {
        action: usize,
    },
    ActionSpace {},
    ObservationSpace {},
}

The request sent over the wire from the client to the server.

Variants

Init

Fields of Init

name: Stringrender: bool
Reset

Fields of Reset

Play

Fields of Play

action: usize
ActionSpace

Fields of ActionSpace

ObservationSpace

Fields of ObservationSpace

Trait Implementations

impl Debug for GymRunnerRequest[src]

impl<'de> Deserialize<'de> for GymRunnerRequest[src]

impl Serialize for GymRunnerRequest[src]

impl<S> Serve<GymRunnerRequest> for ServeGymRunner<S> where
    S: GymRunner
[src]

type Resp = GymRunnerResponse

Type of response.

type Fut = GymRunnerResponseFut<S>

Type of response future.

Auto Trait Implementations

impl RefUnwindSafe for GymRunnerRequest

impl Send for GymRunnerRequest

impl Sync for GymRunnerRequest

impl Unpin for GymRunnerRequest

impl UnwindSafe for GymRunnerRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,