[][src]Module wascc_codec::capabilities

Structs

CapabilityDescriptor

Metadata describing the capability provider and the operations it supports

CapabilityDescriptorBuilder

A fluent syntax builder for creating a capability descriptor

NullDispatcher

The NullDispatcher is as its name implies--a dispatcher that does nothing. This is convenient for initializing a capability provider with a null dispatcher, and then swapping it for a real dispatcher when the host runtime provides one configured with the appropriate channels

OperationDescriptor

A description of a single operation supported by a capability provider

Enums

OperationDirection

Represents the direction of an operation invocation

Constants

OP_GET_CAPABILITY_DESCRIPTOR

All capability providers must respond to this operation, which will be requested by the host (the system actor)

Traits

CapabilityProvider

Every native capability provider must implement this trait. Both portable and native capability providers must respond to the following operations: OP_BIND_ACTOR, OP_REMOVE_ACTOR, OP_GET_CAPABILITY_DESCRIPTOR

Dispatcher

The dispatcher is used by a native capability provider to send commands to an actor module, expecting a result containing a byte array in return