Struct wasmcloud_host::WasmCloudActor[][src]

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

An actor is a WebAssembly module that conforms to the wasmCloud protocols and can securely consume capabilities exposed by capability providers.

Implementations

Create an actor from the bytes of a signed WebAssembly module. Attempting to load an unsigned module, or a module signed improperly, will result in an error.

Create an actor from a signed WebAssembly (.wasm) file.

Obtain the actor’s public key (The sub field of the JWT). It is safe to treat this value as a globally unique identifier.

The actor’s human-friendly display name

Obtain the issuer’s public key as it resides in the actor’s token (the iss field of the JWT).

Obtain the list of capabilities declared in this actor’s embedded token.

Obtain the list of tags in the actor’s token.

Trait Implementations

Formats the value using the given formatter. 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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

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.