pub fn open_ledger_timeout(pool_name: &str, config: Option<&str>, timeout: Duration) -> Result<IndyHandle, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_i32();

        let err = Pool::_open_ledger(command_handle, pool_name, config, cb);

        ResultHandler::one_timeout(err, receiver, timeout)
    }
/// Opens pool ledger and performs connecting to pool nodes.
///
/// Pool ledger configuration with corresponded name must be previously created
/// with indy_create_pool_ledger_config method.
/// It is impossible to open pool with the same name more than once.
///
/// # Arguments
/// * `config_name` - Name of the pool ledger configuration.
/// * `config`  (optional)- Runtime pool configuration json.
///                         if NULL, then default config will be used. Example:
/// {
///     "refresh_on_open": bool (optional), Forces pool ledger to be refreshed immediately after opening.
///                      Defaults to true.
///     "auto_refresh_time": int (optional), After this time in minutes pool ledger will be automatically refreshed.
///                        Use 0 to disable automatic refresh. Defaults to 24*60.
///     "network_timeout": int (optional), Network timeout for communication with nodes in milliseconds.
///                       Defaults to 20000.
/// }
/// * `timeout` - the maximum time this function waits for a response
///
/// # Returns
/// Handle to opened pool to use in methods that require pool connection.
Opens pool ledger and performs connecting to pool nodes.
Pool ledger configuration with corresponded name must be previously created
with indy_create_pool_ledger_config method.
It is impossible to open pool with the same name more than once.
Opens pool ledger and performs connecting to pool nodes . Pool ledger configuration with corresponded name must be previously created with indy_create_pool_ledger_config method . It is impossible to open pool with the same name more than once .
pub fn open_ledger_timeout(pool_name: &str, config: Option<&str>, timeout: Duration) -> Result<IndyHandle, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_i32();
        let err = Pool::_open_ledger(command_handle, pool_name, config, cb);
        ResultHandler::one_timeout(err, receiver, timeout)
    }
pub fn open_ledger_timeout ( pool_name : & str , config : Option < & str > , timeout : Duration ) -> Result < IndyHandle , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_i32 ( ) ; let err = Pool :: _open_ledger ( command_handle , pool_name , config , cb ) ; ResultHandler :: one_timeout ( err , receiver , timeout ) }
Opens pool ledger and performs connecting to pool nodes.
Opens pool ledger and performs connecting to pool nodes .
Handle to opened pool to use in methods that require pool connection.
Handle to opened pool to use in methods that require pool connection .
pool_name
&str
config
Option<&str>
timeout
Duration