pub fn close_timeout(pool_handle: IndyHandle, timeout: Duration) -> Result<(), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec();

        let err = Pool::_close(command_handle, pool_handle, cb);

        ResultHandler::empty_timeout(err, receiver, timeout)
    }
/// Closes opened pool ledger, opened nodes connections and frees allocated resources.
///
/// # Arguments
/// * `handle` - pool handle returned by Pool::open_ledger.
/// * `timeout` - the maximum time this function waits for a response
Closes opened pool ledger, opened nodes connections and frees allocated resources.
Closes opened pool ledger opened nodes connections and frees allocated resources .
pub fn close_timeout(pool_handle: IndyHandle, timeout: Duration) -> Result<(), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec();
        let err = Pool::_close(command_handle, pool_handle, cb);
        ResultHandler::empty_timeout(err, receiver, timeout)
    }
pub fn close_timeout ( pool_handle : IndyHandle , timeout : Duration ) -> Result < ( ) , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec ( ) ; let err = Pool :: _close ( command_handle , pool_handle , cb ) ; ResultHandler :: empty_timeout ( err , receiver , timeout ) }
Closes opened pool ledger, opened nodes connections and frees allocated resources.
Closes opened pool ledger opened nodes connections and frees allocated resources .
pool_handle
IndyHandle
timeout
Duration