Struct hermes_cosmos_integration_tests::contexts::binary_channel::test_driver::CosmosBinaryChannelTestDriver
source · pub struct CosmosBinaryChannelTestDriver {
pub relay_driver: CosmosRelayDriver,
pub chain_driver_a: CosmosChainDriver,
pub chain_driver_b: CosmosChainDriver,
pub connection_id_a: ConnectionId,
pub connection_id_b: ConnectionId,
pub channel_id_a: ChannelId,
pub channel_id_b: ChannelId,
pub port_id_a: PortId,
pub port_id_b: PortId,
}
Fields§
§relay_driver: CosmosRelayDriver
§chain_driver_a: CosmosChainDriver
§chain_driver_b: CosmosChainDriver
§connection_id_a: ConnectionId
§connection_id_b: ConnectionId
§channel_id_a: ChannelId
§channel_id_b: ChannelId
§port_id_a: PortId
§port_id_b: PortId
Trait Implementations§
source§impl ChainDriverGetterAt<CosmosBinaryChannelTestDriver, 0> for CosmosBinaryChannelTestDriverComponents
impl ChainDriverGetterAt<CosmosBinaryChannelTestDriver, 0> for CosmosBinaryChannelTestDriverComponents
fn chain_driver_at( driver: &CosmosBinaryChannelTestDriver, _index: Index<0>, ) -> &CosmosChainDriver
source§impl ChainDriverGetterAt<CosmosBinaryChannelTestDriver, 1> for CosmosBinaryChannelTestDriverComponents
impl ChainDriverGetterAt<CosmosBinaryChannelTestDriver, 1> for CosmosBinaryChannelTestDriverComponents
fn chain_driver_at( driver: &CosmosBinaryChannelTestDriver, _index: Index<1>, ) -> &CosmosChainDriver
source§impl ChannelGetterAt<CosmosBinaryChannelTestDriver, 0, 1> for CosmosBinaryChannelTestDriverComponents
impl ChannelGetterAt<CosmosBinaryChannelTestDriver, 0, 1> for CosmosBinaryChannelTestDriverComponents
fn channel_id_at( driver: &CosmosBinaryChannelTestDriver, _index: Twindex<0, 1>, ) -> &ChannelId
fn port_id_at( driver: &CosmosBinaryChannelTestDriver, _index: Twindex<0, 1>, ) -> &PortId
source§impl ChannelGetterAt<CosmosBinaryChannelTestDriver, 1, 0> for CosmosBinaryChannelTestDriverComponents
impl ChannelGetterAt<CosmosBinaryChannelTestDriver, 1, 0> for CosmosBinaryChannelTestDriverComponents
fn channel_id_at( driver: &CosmosBinaryChannelTestDriver, _index: Twindex<1, 0>, ) -> &ChannelId
fn port_id_at( driver: &CosmosBinaryChannelTestDriver, _index: Twindex<1, 0>, ) -> &PortId
source§impl RelayDriverGetterAt<CosmosBinaryChannelTestDriver, 0, 1> for CosmosBinaryChannelTestDriverComponents
impl RelayDriverGetterAt<CosmosBinaryChannelTestDriver, 0, 1> for CosmosBinaryChannelTestDriverComponents
fn relay_driver_at( driver: &CosmosBinaryChannelTestDriver, _index: Twindex<0, 1>, ) -> &CosmosRelayDriver
Auto Trait Implementations§
impl Freeze for CosmosBinaryChannelTestDriver
impl !RefUnwindSafe for CosmosBinaryChannelTestDriver
impl Send for CosmosBinaryChannelTestDriver
impl Sync for CosmosBinaryChannelTestDriver
impl Unpin for CosmosBinaryChannelTestDriver
impl !UnwindSafe for CosmosBinaryChannelTestDriver
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<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<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<Setup, const A: usize, const B: usize> HasBiRelayTypeAt<A, B> for Setupwhere
Setup: Async + HasRelayTypeAt<A, B> + HasRelayTypeAt<B, A> + HasComponents,
<Setup as HasComponents>::Components: ProvideBiRelayTypeAt<Setup, A, B>,
impl<Setup, const A: usize, const B: usize> HasBiRelayTypeAt<A, B> for Setupwhere
Setup: Async + HasRelayTypeAt<A, B> + HasRelayTypeAt<B, A> + HasComponents,
<Setup as HasComponents>::Components: ProvideBiRelayTypeAt<Setup, A, B>,
type BiRelay = <<Setup as HasComponents>::Components as ProvideBiRelayTypeAt<Setup, A, B>>::BiRelay
source§impl<Driver, const I: usize> HasChainDriverTypeAt<I> for Driverwhere
Driver: HasChainTypeAt<I> + HasComponents,
<Driver as HasComponents>::Components: ProvideChainDriverTypeAt<Driver, I>,
impl<Driver, const I: usize> HasChainDriverTypeAt<I> for Driverwhere
Driver: HasChainTypeAt<I> + HasComponents,
<Driver as HasComponents>::Components: ProvideChainDriverTypeAt<Driver, I>,
type ChainDriver = <<Driver as HasComponents>::Components as ProvideChainDriverTypeAt<Driver, I>>::ChainDriver
source§impl<Context, const I: usize> HasChainTypeAt<I> for Contextwhere
Context: Async + HasComponents,
<Context as HasComponents>::Components: ProvideChainTypeAt<Context, I>,
impl<Context, const I: usize> HasChainTypeAt<I> for Contextwhere
Context: Async + HasComponents,
<Context as HasComponents>::Components: ProvideChainTypeAt<Context, I>,
type Chain = <<Context as HasComponents>::Components as ProvideChainTypeAt<Context, I>>::Chain
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<Driver, const A: usize, const B: usize> HasRelayDriverTypeAt<A, B> for Driverwhere
Driver: HasBiRelayTypeAt<A, B> + HasComponents,
<Driver as HasComponents>::Components: ProvideRelayDriverTypeAt<Driver, A, B>,
impl<Driver, const A: usize, const B: usize> HasRelayDriverTypeAt<A, B> for Driverwhere
Driver: HasBiRelayTypeAt<A, B> + HasComponents,
<Driver as HasComponents>::Components: ProvideRelayDriverTypeAt<Driver, A, B>,
type RelayDriver = <<Driver as HasComponents>::Components as ProvideRelayDriverTypeAt<Driver, A, B>>::RelayDriver
source§impl<Context, const SRC: usize, const DST: usize> HasRelayTypeAt<SRC, DST> for Contextwhere
Context: Async + HasChainTypeAt<SRC> + HasChainTypeAt<DST> + HasComponents,
<Context as HasChainTypeAt<SRC>>::Chain: HasIbcChainTypes<<Context as HasChainTypeAt<DST>>::Chain>,
<Context as HasChainTypeAt<DST>>::Chain: HasIbcChainTypes<<Context as HasChainTypeAt<SRC>>::Chain>,
<Context as HasComponents>::Components: ProvideRelayTypeAt<Context, SRC, DST>,
impl<Context, const SRC: usize, const DST: usize> HasRelayTypeAt<SRC, DST> for Contextwhere
Context: Async + HasChainTypeAt<SRC> + HasChainTypeAt<DST> + HasComponents,
<Context as HasChainTypeAt<SRC>>::Chain: HasIbcChainTypes<<Context as HasChainTypeAt<DST>>::Chain>,
<Context as HasChainTypeAt<DST>>::Chain: HasIbcChainTypes<<Context as HasChainTypeAt<SRC>>::Chain>,
<Context as HasComponents>::Components: ProvideRelayTypeAt<Context, SRC, DST>,
type Relay = <<Context as HasComponents>::Components as ProvideRelayTypeAt<Context, SRC, DST>>::Relay
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