pub fn update(&self) -> Result<(), ForeignClientError> {
        let res = self.build_latest_update_client_and_send().map_err(|e| {
            ForeignClientError::ClientUpdate(format!("build_create_client_and_send {:?}", e))
        })?;

        info!(
            "Client id {:?} on {:?} updated with return message {:?}\n",
            self.id,
            self.dst_chain.id(),
            res
        );

        Ok(())
    }
/// Attempts to update a client using header from the latest height of its source chain.
Attempts to update a client using header from the latest height of its source chain.
Attempts to update a client using header from the latest height of its source chain .
pub fn update(&self) -> Result<(), ForeignClientError> {
        let res = self.build_latest_update_client_and_send().map_err(|e| {
            ForeignClientError::ClientUpdate(format!("build_create_client_and_send {:?}", e))
        })?;
        info!(
            "Client id {:?} on {:?} updated with return message {:?}\n",
            self.id,
            self.dst_chain.id(),
            res
        );
        Ok(())
    }
pub fn update ( & self ) -> Result < ( ) , ForeignClientError > { let res = self . build_latest_update_client_and_send ( ) . map_err ( | e | { ForeignClientError :: ClientUpdate ( format ! ( " " e ) ) } ) ? ; info ! ( " \n " self id self dst_chain id ( ) res ) ; Ok ( ( ) ) }
Attempts to update a client using header from the latest height of its source chain.
Attempts to update a client using header from the latest height of its source chain .
&self
&self