Skip to main content

ChainSourceProvider

Trait ChainSourceProvider 

Source
pub trait ChainSourceProvider: ChainSource {
    // Required method
    fn provider_info(&self) -> ProviderInfo;
}
Expand description

A ChainSource that describes itself to the aggregating registry.

The registry uses provider_info to order and trust-weight providers (see ProviderInfo).

Required Methods§

Source

fn provider_info(&self) -> ProviderInfo

This provider’s registration descriptor (identity, kind, priority, trust posture).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§