Module capabilities

Module capabilities 

Source
Expand description

§Common types used for managing native capability providers

Structs§

CapabilityDescriptorDeprecated
Metadata describing the capability provider and the operations it supports
CapabilityDescriptorBuilder
A fluent syntax builder for creating a capability descriptor
NullDispatcherDeprecated
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
OperationDescriptorDeprecated
A description of a single operation supported by a capability provider

Enums§

OperationDirectionDeprecated
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
CloneProvider
DispatcherDeprecated
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