meteorgan commented on PR #5871:
URL: https://github.com/apache/opendal/pull/5871#issuecomment-2758269789

   The returned value like `object_store` might be a better choice.
   
   ```rust
   /// Result for a get request
   #[derive(Debug)]
   pub struct GetResult {
       /// The [`GetResultPayload`]
       pub payload: GetResultPayload,
       /// The [`ObjectMeta`] for this object
       pub meta: ObjectMeta,
       /// The range of bytes returned by this request
       ///
       /// Note this is not `usize` as `object_store` supports 32-bit 
architectures such as WASM
       pub range: Range<u64>,
       /// Additional object attributes
       pub attributes: Attributes,
   }
   ```


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