Struct dygpi::plugin::PluginRegistrar[][src]

pub struct PluginRegistrar<T> where
    T: Plugin
{ /* fields omitted */ }
Expand description

A registrar is created by a plugin manager and provided to the library’s registration function to register any plugins it has.

Implementations

Register a plugin, this will store the plugin in the registrar until the registration is completed. After the registration function completes, the plugin manager will add all plugins, if no errors were reported.

Inform the registrar of an error, note that if multiple are recorded only the last will propagate out of the plugin manager.

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.

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.