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

use crate::traits::output::HasOutputType;

#[derive_component(CommandRunnerComponent, CommandRunner<App>)]
#[async_trait]
pub trait CanRunCommand<Args>: HasOutputType + HasErrorType
where
    Args: Async,
{
    async fn run_command(&self, args: &Args) -> Result<Self::Output, Self::Error>;
}