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§
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.