pub fn spawn(
        config: &Config,
        src_chain_id: &ChainId,
        dst_chain_id: &ChainId,
    ) -> Result<Self, Error> {
        let src = spawn_chain_runtime(config, src_chain_id)?;
        let dst = spawn_chain_runtime(config, dst_chain_id)?;

        Ok(ChainHandlePair { src, dst })
    }
/// Spawn the source and destination chain runtime from the configuration and chain identifiers,
/// and return the pair of associated handles.
Spawn the source and destination chain runtime from the configuration and chain identifiers,
and return the pair of associated handles.
Spawn the source and destination chain runtime from the configuration and chain identifiers and return the pair of associated handles .
pub fn spawn(
        config: &Config,
        src_chain_id: &ChainId,
        dst_chain_id: &ChainId,
    ) -> Result<Self, Error> {
        let src = spawn_chain_runtime(config, src_chain_id)?;
        let dst = spawn_chain_runtime(config, dst_chain_id)?;
        Ok(ChainHandlePair { src, dst })
    }
pub fn spawn ( config : & Config , src_chain_id : & ChainId , dst_chain_id : & ChainId , ) -> Result < Self , Error > { let src = spawn_chain_runtime ( config , src_chain_id ) ? ; let dst = spawn_chain_runtime ( config , dst_chain_id ) ? ; Ok ( ChainHandlePair { src , dst } ) }
Spawn the source and destination chain runtime from the configuration and chain identifiers,
and return the pair of associated handles.
Spawn the source and destination chain runtime from the configuration and chain identifiers and return the pair of associated handles .
config
&Config
src_chain_id
&ChainId
dst_chain_id
&ChainId
config
&Config
src_chain_id
&ChainId
dst_chain_id
&ChainId