open-net 0.3.5

A cross-platform async networking library for Rust with HTTP and WebSocket clients, network status monitoring, configurable retries, WebSocket reconnection and heartbeats, and managed client lifecycles. Reuse common networking infrastructure across applications to avoid repeated implementation and debugging, helping save development time and AI coding tokens.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Shared retry schedules, decisions and observations.
//!
//! This module is available without transport features. HTTP and WebSocket
//! policies compose a [`RetrySchedule`] with their own error classification and
//! replay-safety rules. A schedule does not execute or own an asynchronous task.

pub use crate::retry_core::{
    Backoff, Jitter, RetryConfigError, RetryContext, RetryDecision, RetryEvent, RetryObserver,
    RetryObserverHandle, RetryReport, RetrySchedule, RetryScheduleBuilder, RetrySetting,
    RetryStopReason,
};