[][src]Enum ggpf_gym::GymRunnerResponseFut

pub enum GymRunnerResponseFut<S: GymRunner> {
    Init(<S as GymRunner>::InitFut),
    Reset(<S as GymRunner>::ResetFut),
    Play(<S as GymRunner>::PlayFut),
    ActionSpace(<S as GymRunner>::ActionSpaceFut),
    ObservationSpace(<S as GymRunner>::ObservationSpaceFut),
}

A future resolving to a server response.

Variants

Init(<S as GymRunner>::InitFut)
Reset(<S as GymRunner>::ResetFut)
Play(<S as GymRunner>::PlayFut)
ActionSpace(<S as GymRunner>::ActionSpaceFut)
ObservationSpace(<S as GymRunner>::ObservationSpaceFut)

Trait Implementations

impl<S: GymRunner> Debug for GymRunnerResponseFut<S>[src]

impl<S: GymRunner> Future for GymRunnerResponseFut<S>[src]

type Output = GymRunnerResponse

The type of value produced on completion.

Auto Trait Implementations

impl<S> RefUnwindSafe for GymRunnerResponseFut<S> where
    <S as GymRunner>::ActionSpaceFut: RefUnwindSafe,
    <S as GymRunner>::InitFut: RefUnwindSafe,
    <S as GymRunner>::ObservationSpaceFut: RefUnwindSafe,
    <S as GymRunner>::PlayFut: RefUnwindSafe,
    <S as GymRunner>::ResetFut: RefUnwindSafe

impl<S> Send for GymRunnerResponseFut<S> where
    <S as GymRunner>::ActionSpaceFut: Send,
    <S as GymRunner>::InitFut: Send,
    <S as GymRunner>::ObservationSpaceFut: Send,
    <S as GymRunner>::PlayFut: Send,
    <S as GymRunner>::ResetFut: Send

impl<S> Sync for GymRunnerResponseFut<S> where
    <S as GymRunner>::ActionSpaceFut: Sync,
    <S as GymRunner>::InitFut: Sync,
    <S as GymRunner>::ObservationSpaceFut: Sync,
    <S as GymRunner>::PlayFut: Sync,
    <S as GymRunner>::ResetFut: Sync

impl<S> Unpin for GymRunnerResponseFut<S> where
    <S as GymRunner>::ActionSpaceFut: Unpin,
    <S as GymRunner>::InitFut: Unpin,
    <S as GymRunner>::ObservationSpaceFut: Unpin,
    <S as GymRunner>::PlayFut: Unpin,
    <S as GymRunner>::ResetFut: Unpin

impl<S> UnwindSafe for GymRunnerResponseFut<S> where
    <S as GymRunner>::ActionSpaceFut: UnwindSafe,
    <S as GymRunner>::InitFut: UnwindSafe,
    <S as GymRunner>::ObservationSpaceFut: UnwindSafe,
    <S as GymRunner>::PlayFut: UnwindSafe,
    <S as GymRunner>::ResetFut: UnwindSafe

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> From<T> for T[src]

impl<T> FromPy<T> for T

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

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>,