pub fn submit_request_async<F: 'static>(pool_handle: IndyHandle, request_json: &str, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));

        Ledger::_submit_request(command_handle, pool_handle, request_json, cb)
    }
/// Publishes request message to validator pool (no signing, unlike Ledger::sign_and_submit_request).
///
/// The request is sent to the validator pool as is. It's assumed that it's already prepared.
///
/// # Arguments
/// * `pool_handle` - pool handle (created by Pool::open_ledger).
/// * `request_json` - Request data json.
/// * `closure` - the closure that is called when finished
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
Publishes request message to validator pool (no signing, unlike Ledger::sign_and_submit_request).
The request is sent to the validator pool as is. It's assumed that it's already prepared.
Publishes request message to validator pool ( no signing unlike Ledger :: sign_and_submit_request ) . The request is sent to the validator pool as is . It ' s assumed that it ' s already prepared .
pub fn submit_request_async<F: 'static>(pool_handle: IndyHandle, request_json: &str, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));
        Ledger::_submit_request(command_handle, pool_handle, request_json, cb)
    }
pub fn submit_request_async < F : ' static > ( pool_handle : IndyHandle , request_json : & str , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode , String ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec_string ( Box :: new ( closure ) ) ; Ledger :: _submit_request ( command_handle , pool_handle , request_json , cb ) }
Publishes request message to validator pool (no signing, unlike Ledger::sign_and_submit_request).
Publishes request message to validator pool ( no signing unlike Ledger :: sign_and_submit_request ) .
`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
request_json
&str
closure
F