fresh-borzoni opened a new pull request, #264:
URL: https://github.com/apache/fluss-rust/pull/264

   ## Summary
   
   Refactor LogScanner to use ScannerKind enum                                  
                                                                                
                                                                                
   
                                                                   
     Replace two `Option<T>` fields (`inner`, `inner_batch`) on `LogScanner` 
with a                                                                          
                                                                                
           
     single `ScannerKind` enum. The previous design allowed impossible states, 
both                                                                            
                                                                                
        
     fields `None`, or both `Some` — which required defensive `if/else` chains 
in                                                                              
                                                                                
         
     every method. The enum makes the active scanner variant explicit at the 
type     
     level.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to