pub fn register_transaction_parser_for_sp_async<F: 'static>(txn_type: &str, parser: Option<ledger::CustomTransactionParser>, free: Option<ledger::CustomFree>, closure: F) -> ErrorCode where F: FnMut(ErrorCode) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec(Box::new(closure));

        Ledger::_register_transaction_parser_for_sp(command_handle, txn_type, parser, free, cb)
    }
/// Register callbacks (see type description for `CustomTransactionParser` and `CustomFree`
///
/// # Arguments
/// * `txn_type` - type of transaction to apply `parse` callback.
/// * `parse` - required callback to parse reply for state proof.
/// * `free` - required callback to deallocate memory.
/// * `closure` - the closure that is called when finished
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
Register callbacks (see type description for `CustomTransactionParser` and `CustomFree`
Register callbacks ( see type description for ` CustomTransactionParser ` and ` CustomFree `
pub fn register_transaction_parser_for_sp_async<F: 'static>(txn_type: &str, parser: Option<ledger::CustomTransactionParser>, free: Option<ledger::CustomFree>, closure: F) -> ErrorCode where F: FnMut(ErrorCode) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec(Box::new(closure));
        Ledger::_register_transaction_parser_for_sp(command_handle, txn_type, parser, free, cb)
    }
pub fn register_transaction_parser_for_sp_async < F : ' static > ( txn_type : & str , parser : Option < ledger :: CustomTransactionParser > , free : Option < ledger :: CustomFree > , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec ( Box :: new ( closure ) ) ; Ledger :: _register_transaction_parser_for_sp ( command_handle , txn_type , parser , free , cb ) }
Register callbacks (see type description for `CustomTransactionParser` and `CustomFree`
Register callbacks ( see type description for ` CustomTransactionParser ` and ` CustomFree `
`errorcode` - errorcode from calling ffi function. The closure receives the return result
` errorcode ` - errorcode from calling ffi function . The closure receives the return result
txn_type
&str
parser
Option<ledger::CustomTransactionParser>
free
Option<ledger::CustomFree>
closure
F