crepererum commented on issue #297:
URL: 
https://github.com/apache/arrow-rs-object-store/issues/297#issuecomment-2777969770

   > ObjectStore does not expose `Any` nor would it be especially useful if it 
did given people tend to wrap ObjectStore in multiple layers.
   
   That could be changed though:
   
   - support `Any`: either via `as_any` or -- for new rust versions -- via dyn 
up/downcasting
   - layers: add a new method to the base trait `fn inner(&self) -> Option<&dyn 
ObjectStore>`.
   
   then add a method to the base trait `async fn copy_from(&self, other: 
Arc<dyn ObjectStore>, path: ...)` (or `copy_to` if you like that more) that 
uses the dynamic inspection capabilities.


-- 
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