pub struct HermesApp {
pub config_path: PathBuf,
pub runtime: HermesRuntime,
}Fields§
§config_path: PathBuf§runtime: HermesRuntimeTrait Implementations§
Source§impl CommandRunner<HermesApp> for ChannelCommands
impl CommandRunner<HermesApp> for ChannelCommands
Source§impl CommandRunner<HermesApp> for ChannelCreate
impl CommandRunner<HermesApp> for ChannelCreate
Source§impl CommandRunner<HermesApp> for ClearCommands
impl CommandRunner<HermesApp> for ClearCommands
Source§impl CommandRunner<HermesApp> for ClientCommands
impl CommandRunner<HermesApp> for ClientCommands
Source§impl CommandRunner<HermesApp> for ClientUpdate
impl CommandRunner<HermesApp> for ClientUpdate
Source§impl CommandRunner<HermesApp> for ConnectionCommands
impl CommandRunner<HermesApp> for ConnectionCommands
Source§impl CommandRunner<HermesApp> for ConnectionCreate
impl CommandRunner<HermesApp> for ConnectionCreate
Source§impl CommandRunner<HermesApp> for HermesCommand
impl CommandRunner<HermesApp> for HermesCommand
Source§impl CommandRunner<HermesApp> for KeysAddCmd
impl CommandRunner<HermesApp> for KeysAddCmd
Source§impl CommandRunner<HermesApp> for KeysBalanceCmd
impl CommandRunner<HermesApp> for KeysBalanceCmd
Source§impl CommandRunner<HermesApp> for KeysCmd
impl CommandRunner<HermesApp> for KeysCmd
Source§impl CommandRunner<HermesApp> for KeysDeleteCmd
impl CommandRunner<HermesApp> for KeysDeleteCmd
Source§impl CommandRunner<HermesApp> for KeysListCmd
impl CommandRunner<HermesApp> for KeysListCmd
Source§impl CommandRunner<HermesApp> for PacketCommands
impl CommandRunner<HermesApp> for PacketCommands
Source§impl CommandRunner<HermesApp> for PacketsClear
impl CommandRunner<HermesApp> for PacketsClear
Source§impl CommandRunner<HermesApp> for QueryChannels
impl CommandRunner<HermesApp> for QueryChannels
Source§impl CommandRunner<HermesApp> for QueryClients
impl CommandRunner<HermesApp> for QueryClients
Source§impl CommandRunner<HermesApp> for QueryCommands
impl CommandRunner<HermesApp> for QueryCommands
Source§impl CommandRunner<HermesApp> for QueryConnection
impl CommandRunner<HermesApp> for QueryConnection
Source§impl CommandRunner<HermesApp> for QueryConnections
impl CommandRunner<HermesApp> for QueryConnections
Source§impl CreateClientOptionsParser<HermesApp, CreateClientArgs, 0, 1> for HermesAppComponents
impl CreateClientOptionsParser<HermesApp, CreateClientArgs, 0, 1> for HermesAppComponents
async fn parse_create_client_options( _app: &HermesApp, args: &CreateClientArgs, target_chain: &CosmosChain, counterparty_chain: &CosmosChain, ) -> Result<((), Settings), Error>
Source§impl HasComponents for HermesApp
impl HasComponents for HermesApp
Source§impl HasField<(Char<'c'>, Char<'o'>, Char<'n'>, Char<'f'>, Char<'i'>, Char<'g'>, Char<'_'>, Char<'p'>, Char<'a'>, Char<'t'>, Char<'h'>)> for HermesApp
impl HasField<(Char<'c'>, Char<'o'>, Char<'n'>, Char<'f'>, Char<'i'>, Char<'g'>, Char<'_'>, Char<'p'>, Char<'a'>, Char<'t'>, Char<'h'>)> for HermesApp
Source§impl HasField<(Char<'r'>, Char<'u'>, Char<'n'>, Char<'t'>, Char<'i'>, Char<'m'>, Char<'e'>)> for HermesApp
impl HasField<(Char<'r'>, Char<'u'>, Char<'n'>, Char<'t'>, Char<'i'>, Char<'m'>, Char<'e'>)> for HermesApp
impl CanUseHermesApp for HermesApp
Auto Trait Implementations§
impl Freeze for HermesApp
impl RefUnwindSafe for HermesApp
impl Send for HermesApp
impl Sync for HermesApp
impl Unpin for HermesApp
impl UnwindSafe for HermesApp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<App, Args> CanLoadBootstrap<Args> for Appwhere
Args: Async,
App: HasBootstrapType + HasErrorType + HasComponents,
<App as HasComponents>::Components: BootstrapLoader<App, Args>,
impl<App, Args> CanLoadBootstrap<Args> for Appwhere
Args: Async,
App: HasBootstrapType + HasErrorType + HasComponents,
<App as HasComponents>::Components: BootstrapLoader<App, Args>,
async fn load_bootstrap( &self, args: &Args, ) -> Result<<App as HasBootstrapType>::Bootstrap, <App as HasErrorType>::Error>
Source§impl<App> CanLoadBuilder for Appwhere
App: HasBuilderType + HasErrorType + HasComponents,
<App as HasComponents>::Components: BuilderLoader<App>,
impl<App> CanLoadBuilder for Appwhere
App: HasBuilderType + HasErrorType + HasComponents,
<App as HasComponents>::Components: BuilderLoader<App>,
async fn load_builder( &self, ) -> Result<<App as HasBuilderType>::Builder, <App as HasErrorType>::Error>
Source§impl<App> CanLoadConfig for Appwhere
App: HasConfigType + HasErrorType + HasComponents,
<App as HasComponents>::Components: ConfigLoader<App>,
impl<App> CanLoadConfig for Appwhere
App: HasConfigType + HasErrorType + HasComponents,
<App as HasComponents>::Components: ConfigLoader<App>,
async fn load_config( &self, ) -> Result<<App as HasConfigType>::Config, <App as HasErrorType>::Error>
Source§impl<App, Args, Tag> CanParseArg<Args, Tag> for Appwhere
App: HasErrorType + HasComponents,
<App as HasComponents>::Components: ArgParser<App, Args, Tag>,
impl<App, Args, Tag> CanParseArg<Args, Tag> for Appwhere
App: HasErrorType + HasComponents,
<App as HasComponents>::Components: ArgParser<App, Args, Tag>,
type Parsed = <<App as HasComponents>::Components as ArgParser<App, Args, Tag>>::Parsed
fn parse_arg( &self, args: &Args, tag: PhantomData<Tag>, ) -> Result<<App as CanParseArg<Args, Tag>>::Parsed, <App as HasErrorType>::Error>
Source§impl<Context, E> CanRaiseError<E> for Contextwhere
Context: HasErrorType + HasComponents,
<Context as HasComponents>::Components: ErrorRaiser<Context, E>,
impl<Context, E> CanRaiseError<E> for Contextwhere
Context: HasErrorType + HasComponents,
<Context as HasComponents>::Components: ErrorRaiser<Context, E>,
fn raise_error(e: E) -> <Context as HasErrorType>::Error
Source§impl<App, Args> CanRunCommand<Args> for Appwhere
Args: Async,
App: HasOutputType + HasErrorType + HasComponents,
<App as HasComponents>::Components: CommandRunner<App, Args>,
impl<App, Args> CanRunCommand<Args> for Appwhere
Args: Async,
App: HasOutputType + HasErrorType + HasComponents,
<App as HasComponents>::Components: CommandRunner<App, Args>,
async fn run_command( &self, args: &Args, ) -> Result<<App as HasOutputType>::Output, <App as HasErrorType>::Error>
Source§impl<Context, Detail, Error> CanWrapError<Detail> for Context
impl<Context, Detail, Error> CanWrapError<Detail> for Context
fn wrap_error( detail: Detail, error: <Context as HasErrorType>::Error, ) -> <Context as HasErrorType>::Error
Source§impl<App> CanWriteConfig for Appwhere
App: HasConfigType + HasErrorType + HasComponents,
<App as HasComponents>::Components: ConfigWriter<App>,
impl<App> CanWriteConfig for Appwhere
App: HasConfigType + HasErrorType + HasComponents,
<App as HasComponents>::Components: ConfigWriter<App>,
async fn write_config( &self, config: &<App as HasConfigType>::Config, ) -> Result<(), <App as HasErrorType>::Error>
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<App> HasAnyCounterparty for App
impl<App> HasAnyCounterparty for App
type AnyCounterparty = <<App as HasComponents>::Components as ProvideAnyCounterparty<App>>::AnyCounterparty
Source§impl<App> HasBootstrapType for App
impl<App> HasBootstrapType for App
type Bootstrap = <<App as HasComponents>::Components as ProvideBootstrapType<App>>::Bootstrap
Source§impl<App> HasBuilderType for App
impl<App> HasBuilderType for App
type Builder = <<App as HasComponents>::Components as ProvideBuilderType<App>>::Builder
Source§impl<App> HasConfigPath for Appwhere
App: HasRuntime + HasComponents,
<App as HasRuntimeType>::Runtime: HasFilePathType,
<App as HasComponents>::Components: ConfigPathGetter<App>,
impl<App> HasConfigPath for Appwhere
App: HasRuntime + HasComponents,
<App as HasRuntimeType>::Runtime: HasFilePathType,
<App as HasComponents>::Components: ConfigPathGetter<App>,
fn config_path( &self, ) -> &<<App as HasRuntimeType>::Runtime as HasFilePathType>::FilePath
Source§impl<App> HasConfigType for App
impl<App> HasConfigType for App
type Config = <<App as HasComponents>::Components as ProvideConfigType<App>>::Config
Source§impl<Context> HasErrorType for Context
impl<Context> HasErrorType for Context
Source§type Error = <<Context as HasComponents>::Components as ProvideErrorType<Context>>::Error
type Error = <<Context as HasComponents>::Components as ProvideErrorType<Context>>::Error
The Error associated type is also required to implement Debug.
This is to allow Self::Error to be used in calls like .unwrap(),
as well as for simpler error logging.
Source§impl<Context> HasGlobalLogger for Contextwhere
Context: HasLoggerType + HasComponents,
<Context as HasComponents>::Components: GlobalLoggerGetter<Context>,
impl<Context> HasGlobalLogger for Contextwhere
Context: HasLoggerType + HasComponents,
<Context as HasComponents>::Components: GlobalLoggerGetter<Context>,
fn global_logger() -> &'static <Context as HasLoggerType>::Logger
Source§impl<Context> HasLogger for Contextwhere
Context: HasLoggerType + HasComponents,
<Context as HasComponents>::Components: LoggerGetter<Context>,
impl<Context> HasLogger for Contextwhere
Context: HasLoggerType + HasComponents,
<Context as HasComponents>::Components: LoggerGetter<Context>,
fn logger(&self) -> &<Context as HasLoggerType>::Logger
Source§impl<Context> HasLoggerType for Contextwhere
Context: Async + HasComponents,
<Context as HasComponents>::Components: ProvideLoggerType<Context>,
impl<Context> HasLoggerType for Contextwhere
Context: Async + HasComponents,
<Context as HasComponents>::Components: ProvideLoggerType<Context>,
type Logger = <<Context as HasComponents>::Components as ProvideLoggerType<Context>>::Logger
Source§impl<App> HasOutputType for App
impl<App> HasOutputType for App
type Output = <<App as HasComponents>::Components as ProvideOutputType<App>>::Output
Source§impl<Context> HasRetryableError for Contextwhere
Context: HasErrorType + HasComponents,
<Context as HasComponents>::Components: ProvideRetryableError<Context>,
impl<Context> HasRetryableError for Contextwhere
Context: HasErrorType + HasComponents,
<Context as HasComponents>::Components: ProvideRetryableError<Context>,
fn is_retryable_error(e: &<Context as HasErrorType>::Error) -> bool
Source§impl<Context> HasRuntime for Contextwhere
Context: HasRuntimeType + HasComponents,
<Context as HasComponents>::Components: RuntimeGetter<Context>,
impl<Context> HasRuntime for Contextwhere
Context: HasRuntimeType + HasComponents,
<Context as HasComponents>::Components: RuntimeGetter<Context>,
fn runtime(&self) -> &<Context as HasRuntimeType>::Runtime
Source§impl<Context> HasRuntimeType for Contextwhere
Context: Async + HasComponents,
<Context as HasComponents>::Components: ProvideRuntimeType<Context>,
impl<Context> HasRuntimeType for Contextwhere
Context: Async + HasComponents,
<Context as HasComponents>::Components: ProvideRuntimeType<Context>,
type Runtime = <<Context as HasComponents>::Components as ProvideRuntimeType<Context>>::Runtime
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request