Trait CanBootstrapChain

Source
pub trait CanBootstrapChain: HasChainDriverType + HasErrorType {
    // Required method
    fn bootstrap_chain(
        &self,
        chain_id_prefix: &str,
    ) -> impl Future<Output = Result<Self::ChainDriver, Self::Error>> + Send;
}

Required Methods§

Source

fn bootstrap_chain( &self, chain_id_prefix: &str, ) -> impl Future<Output = Result<Self::ChainDriver, Self::Error>> + Send

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.

Implementors§

Source§

impl<Bootstrap> CanBootstrapChain for Bootstrap
where Bootstrap: HasChainDriverType + HasErrorType + HasComponents, Bootstrap::Components: ChainBootstrapper<Bootstrap>,