Trait HotShotConfigDataSource

Source
pub(crate) trait HotShotConfigDataSource {
    // Required method
    fn get_config(&self) -> impl Send + Future<Output = PublicNetworkConfig>;
}

Required Methods§

Source

fn get_config(&self) -> impl Send + Future<Output = PublicNetworkConfig>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<N: ConnectedNetwork<PubKey>, D: Sync, V: Versions, P: SequencerPersistence> HotShotConfigDataSource for ExtensibleDataSource<D, ApiState<N, P, V>>

Implementors§