fn apply(
    request: &TpProcessRequest,
    context: &mut dyn TransactionContext,
) -> Result<bool, ApplyError> {
    let handler = MfgBatchTransactionHandler::new();
    match handler.apply(request, context) {
        Ok(_) => Ok(true),
        Err(err) => {
            info!("{} received {}", handler.family_name(), err);
            Err(err)
        }
    }
}
// Sabre apply must return a bool
Sabre apply must return a bool
Sabre apply must return a bool
fn apply(
    request: &TpProcessRequest,
    context: &mut dyn TransactionContext,
) -> Result<bool, ApplyError> {
    let handler = MfgBatchTransactionHandler::new();
    match handler.apply(request, context) {
        Ok(_) => Ok(true),
        Err(err) => {
            info!("{} received {}", handler.family_name(), err);
            Err(err)
        }
    }
}
fn apply ( request : & TpProcessRequest , context : & mut dyn TransactionContext , ) -> Result < bool , ApplyError > { let handler = MfgBatchTransactionHandler :: new ( ) ; match handler . apply ( request , context ) { Ok ( _ ) => Ok ( true ) , Err ( err ) => { info ! ( " " handler family_name ( ) err ) ; Err ( err ) } } }
Sabre apply must return a bool
Sabre apply must return a bool
request
&TpProcessRequest
context
&mut dyn TransactionContext