pub fn open_ledger_async<F: 'static>(pool_name: &str, config: Option<&str>, closure: F) -> ErrorCode where F: FnMut(ErrorCode, IndyHandle) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_i32(Box::new(closure));

        Pool::_open_ledger(command_handle, pool_name, config, cb)
    }
/// 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.
/// }
/// * `closure` - the closure that is called when finished
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
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_async<F: 'static>(pool_name: &str, config: Option<&str>, closure: F) -> ErrorCode where F: FnMut(ErrorCode, IndyHandle) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_i32(Box::new(closure));
        Pool::_open_ledger(command_handle, pool_name, config, cb)
    }
pub fn open_ledger_async < F : ' static > ( pool_name : & str , config : Option < & str > , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode , IndyHandle ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec_i32 ( Box :: new ( closure ) ) ; Pool :: _open_ledger ( command_handle , pool_name , config , cb ) }
Opens pool ledger and performs connecting to pool nodes.
Opens pool ledger and performs connecting to pool nodes .
`errorcode` - errorcode from calling ffi function. The closure receives the return result
` errorcode ` - errorcode from calling ffi function . The closure receives the return result
pool_name
&str
config
Option<&str>
closure
F