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

        Ledger::_submit_action(command_handle, pool_handle, request_json, nodes, wait_timeout, cb)
    }
/// * `closure` - the closure that is called when finished
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
`closure` - the closure that is called when finished
` closure ` - the closure that is called when finished
pub fn submit_action_async<F: 'static>(pool_handle: IndyHandle, request_json: &str, nodes: &str, wait_timeout: i32, closure: F) -> ErrorCode where F: FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));
        Ledger::_submit_action(command_handle, pool_handle, request_json, nodes, wait_timeout, cb)
    }
pub fn submit_action_async < F : ' static > ( pool_handle : IndyHandle , request_json : & str , nodes : & str , wait_timeout : i32 , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode , String ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec_string ( Box :: new ( closure ) ) ; Ledger :: _submit_action ( command_handle , pool_handle , request_json , nodes , wait_timeout , cb ) }
`closure` - the closure that is called when finished
` closure ` - the closure that is called when finished
`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
nodes
&str
wait_timeout
i32
closure
F