pub trait TestClientBuilderExt: Sized {
// Required method
fn build_with_longest_chain(self) -> (Client, LongestChain);
// Provided method
fn build(self) -> Client { ... }
}
Expand description
A test-runtime
extensions to TestClientBuilder
.
Required Methods§
Sourcefn build_with_longest_chain(self) -> (Client, LongestChain)
fn build_with_longest_chain(self) -> (Client, LongestChain)
Build the test client and longest chain selector.
Provided Methods§
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.