alamb commented on code in PR #370: URL: https://github.com/apache/arrow-rs-object-store/pull/370#discussion_r2093541015
########## src/client/retry.rs: ########## @@ -33,7 +33,11 @@ use web_time::{Duration, Instant}; /// Retry request error #[derive(Debug, thiserror::Error)] -pub struct RetryError { +pub struct RetryError(Box<RetryErrorImpl>); + +/// Box error to avoid large error variant +#[derive(Debug)] +struct RetryErrorImpl { Review Comment: Doesn't this mean the fields are now not public on the error 🤔 -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org