pub struct FunctionalPluginAction<A, R> { /* private fields */ }
Expand description

An action which can be taken by many plugins. When run, a functional action will return a map of plugin names to their return types.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Runs the action. This takes data that the action should expect, along with a map of plugins to their data.

Registers a plugin that takes this action. Read more

Same as .register_plugin(), but takes a prepared runner in a Box.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.