Skip to main content

RELEASE_PROVIDERS

Static RELEASE_PROVIDERS 

Source
pub static RELEASE_PROVIDERS: DistributedSlice<[fn() -> Box<dyn ProviderRegistration>]>
Expand description

Distributed slice of built-in and downstream-custom providers.

Entries are fn() -> Box<dyn ProviderRegistration>. A new backend registers by writing a small type that implements ProviderRegistration and a fn() -> Box<dyn _> annotated with #[distributed_slice(RELEASE_PROVIDERS)]. See src/github.rs for an example.