Struct lunatic::Environment[][src]

pub struct Environment { /* fields omitted */ }
Expand description

Environments can define characteristics of processes that are spawned into it.

Implementations

Create a new environment from a configuration

Create a new environment on a remote node

Add a WebAssembly module to the environment.

Add the module that is being currently executed to the environment.

Register a process under a specific name & version in the environment.

The version must be in a correct semver format. If a process was registered under the same name and exactly same version, it will be overwritten.

Unregister a process from the environment

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.