hermes-cli-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
use cgp::prelude::*;

#[derive_component(OutputTypeComponent, ProvideOutputType<App>)]
pub trait HasOutputType: Async {
    type Output: Async;
}

#[derive_component(OutputProducerComponent, OutputProducer<App>)]
pub trait CanProduceOutput<Value>: HasOutputType {
    fn produce_output(&self, value: Value) -> Self::Output;
}