This reference describes unreleased code on main; no release documents it yet.

rlmesh::env::EnvFactoryServeOptions

structPreviewuse rlmesh::env::EnvFactoryServeOptions;[source]

Options for serving a factory's environments.

struct EnvFactoryServeOptions

Also available as rlmesh::EnvFactoryServeOptions.

num_envs

field[source]
num_envs: i64

Lanes to make and serve (default 1; <= 1 serves one env).

workflow_edition

field[source]
workflow_edition: Option<String>

The edition this endpoint declares, above the type’s own and below RLMESH_WORKFLOW_EDITION.

make_kwargs

field[source]
make_kwargs: Kwargs

Keywords passed to make.

cancel

field[source]
cancel: Option<CancelToken>

Stops the serve as SIGINT does: drain, close the envs, then the cancellation class. Already fired, it fails the call at once.

Trait implementations

  • impl Clone for EnvFactoryServeOptions
  • impl Debug for EnvFactoryServeOptions
  • impl Default for EnvFactoryServeOptions