pub fn submit_request_timeout(pool_handle: IndyHandle, request_json: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Ledger::_submit_request(command_handle, pool_handle, request_json, cb);

        ResultHandler::one_timeout(err, receiver, timeout)
    }
/// 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.
/// * `timeout` - the maximum time this function waits for a response
///
/// # Returns
/// Request result as json.
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_timeout(pool_handle: IndyHandle, request_json: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_submit_request(command_handle, pool_handle, request_json, cb);
        ResultHandler::one_timeout(err, receiver, timeout)
    }
pub fn submit_request_timeout ( pool_handle : IndyHandle , request_json : & str , timeout : Duration ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _submit_request ( command_handle , pool_handle , request_json , cb ) ; ResultHandler :: one_timeout ( err , receiver , timeout ) }
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 ) .
Request result as json.
Request result as json .
pool_handle
IndyHandle
request_json
&str
timeout
Duration