rlmesh::env::EnvFactoryServeOptions
Options for serving a factory's environments.
struct EnvFactoryServeOptionsAlso available as rlmesh::EnvFactoryServeOptions.
Fields
num_envs
field[source]num_envs: i64Lanes 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: KwargsKeywords 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