fn create(&mut self) -> Result<(), ForeignClientError> {
        match self.build_create_client_and_send() {
            Err(e) => {
                error!("Failed CreateClient {:?}: {}", self.dst_chain.id(), e);
                return Err(ForeignClientError::ClientCreate(format!(
                    "Create client failed ({:?})",
                    e
                )));
            }
            Ok(event) => {
                self.id = extract_client_id(&event)?.clone();
                info!("🍭  {} => {:#?}\n", self.dst_chain.id(), event);
            }
        }
        Ok(())
    }
/// Sends the client creation transaction & subsequently sets the id of this ForeignClient
Sends the client creation transaction & subsequently sets the id of this ForeignClient
Sends the client creation transaction & subsequently sets the id of this ForeignClient
fn create(&mut self) -> Result<(), ForeignClientError> {
        match self.build_create_client_and_send() {
            Err(e) => {
                error!("Failed CreateClient {:?}: {}", self.dst_chain.id(), e);
                return Err(ForeignClientError::ClientCreate(format!(
                    "Create client failed ({:?})",
                    e
                )));
            }
            Ok(event) => {
                self.id = extract_client_id(&event)?.clone();
                info!("🍭  {} => {:#?}\n", self.dst_chain.id(), event);
            }
        }
        Ok(())
    }
fn create ( & mut self ) -> Result < ( ) , ForeignClientError > { match self . build_create_client_and_send ( ) { Err ( e ) => { error ! ( " " self dst_chain id ( ) e ) ; return Err ( ForeignClientError :: ClientCreate ( format ! ( " " e ) ) ) ; } Ok ( event ) => { self . id = extract_client_id ( & event ) ? . clone ( ) ; info ! ( " ,  s f.ds _chain.id ), e nt); } } Ok ( ( ) ) }
Sends the client creation transaction & subsequently sets the id of this ForeignClient
Sends the client creation transaction & subsequently sets the id of this ForeignClient
&mut self
&mut self