pub fn create_ledger_config_timeout(pool_name: &str, pool_config: Option<&str>, timeout: Duration) -> Result<(), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec();

        let err = Pool::_create_ledger_config(command_handle, pool_name, pool_config, cb);

        ResultHandler::empty_timeout(err, receiver, timeout)
    }
/// Creates a new local pool ledger configuration that can be used later to connect pool nodes.
///
/// # Arguments
/// * `config_name` - Name of the pool ledger configuration.
/// * `config`  (optional)- Pool configuration json. if NULL, then default config will be used. Example:
/// {
///     "genesis_txn": string (optional), A path to genesis transaction file. If NULL, then a default one will be used.
///                    If file doesn't exists default one will be created.
/// }
/// * `timeout` - the maximum time this function waits for a response
Creates a new local pool ledger configuration that can be used later to connect pool nodes.
Creates a new local pool ledger configuration that can be used later to connect pool nodes .
pub fn create_ledger_config_timeout(pool_name: &str, pool_config: Option<&str>, timeout: Duration) -> Result<(), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec();
        let err = Pool::_create_ledger_config(command_handle, pool_name, pool_config, cb);
        ResultHandler::empty_timeout(err, receiver, timeout)
    }
pub fn create_ledger_config_timeout ( pool_name : & str , pool_config : Option < & str > , timeout : Duration ) -> Result < ( ) , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec ( ) ; let err = Pool :: _create_ledger_config ( command_handle , pool_name , pool_config , cb ) ; ResultHandler :: empty_timeout ( err , receiver , timeout ) }
Creates a new local pool ledger configuration that can be used later to connect pool nodes.
Creates a new local pool ledger configuration that can be used later to connect pool nodes .
pool_name
&str
pool_config
Option<&str>
timeout
Duration