pub fn register_transaction_parser_for_sp(txn_type: &str, parser: Option<ledger::CustomTransactionParser>, free: Option<ledger::CustomFree>) -> Result<(), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec();

        let err = Ledger::_register_transaction_parser_for_sp(command_handle, txn_type, parser, free, cb);

        ResultHandler::empty(err, receiver)
    }
/// 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.
///
/// # Returns
/// Status of callbacks registration.
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(txn_type: &str, parser: Option<ledger::CustomTransactionParser>, free: Option<ledger::CustomFree>) -> Result<(), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec();
        let err = Ledger::_register_transaction_parser_for_sp(command_handle, txn_type, parser, free, cb);
        ResultHandler::empty(err, receiver)
    }
pub fn register_transaction_parser_for_sp ( txn_type : & str , parser : Option < ledger :: CustomTransactionParser > , free : Option < ledger :: CustomFree > ) -> Result < ( ) , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec ( ) ; let err = Ledger :: _register_transaction_parser_for_sp ( command_handle , txn_type , parser , free , cb ) ; ResultHandler :: empty ( err , receiver ) }
Register callbacks (see type description for `CustomTransactionParser` and `CustomFree`
Register callbacks ( see type description for ` CustomTransactionParser ` and ` CustomFree `
Status of callbacks registration.
Status of callbacks registration .
txn_type
&str
parser
Option<ledger::CustomTransactionParser>
free
Option<ledger::CustomFree>