pub fn close_async<F: 'static>(pool_handle: IndyHandle, closure: F) -> ErrorCode where F: FnMut(ErrorCode) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec(Box::new(closure));

        Pool::_close(command_handle, pool_handle, cb)
    }
/// Closes opened pool ledger, opened nodes connections and frees allocated resources.
///
/// # Arguments
/// * `handle` - pool handle returned by Pool::open_ledger.
/// * `closure` - the closure that is called when finished
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
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_async<F: 'static>(pool_handle: IndyHandle, closure: F) -> ErrorCode where F: FnMut(ErrorCode) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec(Box::new(closure));
        Pool::_close(command_handle, pool_handle, cb)
    }
pub fn close_async < F : ' static > ( pool_handle : IndyHandle , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec ( Box :: new ( closure ) ) ; Pool :: _close ( command_handle , pool_handle , cb ) }
Closes opened pool ledger, opened nodes connections and frees allocated resources.
Closes opened pool ledger opened nodes connections and frees allocated resources .
`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_handle
IndyHandle
closure
F