pub fn with_retry<T>(
op: impl FnMut() -> Result<T, StoreError>,
attempts: u32,
) -> Result<T, StoreError>Expand description
Bounded retry on Io errors (never on Conflict/Mapping/Corrupt).
pub fn with_retry<T>(
op: impl FnMut() -> Result<T, StoreError>,
attempts: u32,
) -> Result<T, StoreError>Bounded retry on Io errors (never on Conflict/Mapping/Corrupt).