referrerpolicy=no-referrer-when-downgrade
cumulus_test_client

Trait TestClientBuilderExt

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

Source

fn build_with_longest_chain(self) -> (Client, LongestChain)

Build the test client and longest chain selector.

Provided Methods§

Source

fn build(self) -> Client

Build the test client.

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§