Skip to main content

objects/util/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2//! Shared utilities used across the objects crate's storage backends.
3//!
4//! `async_retry` requires tokio (only pulled in by feature-gated remote
5//! backends like `s3`), so the module is gated to match.
6
7#[cfg(feature = "s3")]
8pub mod async_retry;
9
10#[cfg(feature = "s3")]
11pub use async_retry::{RetryDecision, RetryPolicy, classify_transient_io, retry_with};