pub struct SetupChannelHandshake;Trait Implementations§
Source§impl<Setup, const A: usize, const B: usize> ChannelSetup<Setup, A, B> for SetupChannelHandshakewhere
Setup: HasBiRelayTypeAt<A, B> + HasInitChannelOptionsAt<A, B> + HasPortIdAt<A, B> + HasPortIdAt<B, A> + CanRaiseError<ErrorOf<RelayAt<Setup, A, B>>>,
ChainAt<Setup, A>: HasIbcChainTypes<ChainAt<Setup, B>> + HasInitChannelOptionsType<ChainAt<Setup, B>>,
ChainAt<Setup, B>: HasIbcChainTypes<ChainAt<Setup, A>>,
RelayAt<Setup, A, B>: CanBootstrapChannel,
BiRelayAt<Setup, A, B>: HasTwoWayRelay + HasRelayTypeAt<0, 1, Relay = RelayAt<Setup, A, B>>,
PortIdOf<ChainAt<Setup, A>, ChainAt<Setup, B>>: Clone,
PortIdOf<ChainAt<Setup, B>, ChainAt<Setup, A>>: Clone,
impl<Setup, const A: usize, const B: usize> ChannelSetup<Setup, A, B> for SetupChannelHandshakewhere
Setup: HasBiRelayTypeAt<A, B> + HasInitChannelOptionsAt<A, B> + HasPortIdAt<A, B> + HasPortIdAt<B, A> + CanRaiseError<ErrorOf<RelayAt<Setup, A, B>>>,
ChainAt<Setup, A>: HasIbcChainTypes<ChainAt<Setup, B>> + HasInitChannelOptionsType<ChainAt<Setup, B>>,
ChainAt<Setup, B>: HasIbcChainTypes<ChainAt<Setup, A>>,
RelayAt<Setup, A, B>: CanBootstrapChannel,
BiRelayAt<Setup, A, B>: HasTwoWayRelay + HasRelayTypeAt<0, 1, Relay = RelayAt<Setup, A, B>>,
PortIdOf<ChainAt<Setup, A>, ChainAt<Setup, B>>: Clone,
PortIdOf<ChainAt<Setup, B>, ChainAt<Setup, A>>: Clone,
async fn setup_channel( setup: &Setup, birelay: &BiRelayAt<Setup, A, B>, connection_id_a: &ConnectionIdOf<ChainAt<Setup, A>, ChainAt<Setup, B>>, connection_id_b: &ConnectionIdOf<ChainAt<Setup, B>, ChainAt<Setup, A>>, ) -> Result<(ChannelIdOf<ChainAt<Setup, A>, ChainAt<Setup, B>>, ChannelIdOf<ChainAt<Setup, B>, ChainAt<Setup, A>>, PortIdOf<ChainAt<Setup, A>, ChainAt<Setup, B>>, PortIdOf<ChainAt<Setup, B>, ChainAt<Setup, A>>), Setup::Error>
Auto Trait Implementations§
impl Freeze for SetupChannelHandshake
impl RefUnwindSafe for SetupChannelHandshake
impl Send for SetupChannelHandshake
impl Sync for SetupChannelHandshake
impl Unpin for SetupChannelHandshake
impl UnsafeUnpin for SetupChannelHandshake
impl UnwindSafe for SetupChannelHandshake
Blanket Implementations§
impl<A> Async for A
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