Trait HasBootstrapAt

Source
pub trait HasBootstrapAt<const I: usize>: HasChainDriverTypeAt<I> {
    type Bootstrap: HasChainDriverType<ChainDriver = ChainDriverTypeAt<Self, I>>;

    // Required method
    fn chain_bootstrap(&self, index: Index<I>) -> &Self::Bootstrap;
}

Required Associated Types§

Required Methods§

Source

fn chain_bootstrap(&self, index: Index<I>) -> &Self::Bootstrap

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<Setup, const I: usize> HasBootstrapAt<I> for Setup
where Setup: HasChainDriverTypeAt<I> + HasComponents, Setup::Components: ProvideBootstrapAt<Setup, I>,