Trait CanSetupChain

Source
pub trait CanSetupChain<const I: usize>: HasChainDriverTypeAt<I> + HasErrorType {
    // Required method
    fn setup_chain(
        &self,
        index: Index<I>,
    ) -> impl Future<Output = Result<ChainDriverTypeAt<Self, I>, Self::Error>> + Send;
}

Required Methods§

Source

fn setup_chain( &self, index: Index<I>, ) -> impl Future<Output = Result<ChainDriverTypeAt<Self, I>, 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<Setup, const I: usize> CanSetupChain<I> for Setup
where Setup: HasChainDriverTypeAt<I> + HasErrorType + HasComponents, Setup::Components: ChainSetup<Setup, I>,