hermes-test-components 0.1.0

Implementation of an IBC Relayer in Rust, as a library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use cgp::prelude::*;

#[derive_component(DriverTypeComponent, ProvideTestDriverType<Setup>)]
pub trait HasTestDriverType: Async {
    type TestDriver: Async;
}

#[derive_component(DriverBuilderComponent, DriverBuilder<Context>)]
#[async_trait]
pub trait CanBuildTestDriver: HasTestDriverType + HasErrorType {
    async fn build_driver(&self) -> Result<Self::TestDriver, Self::Error>;
}