Skip to main content

hclient_core/unversioned/
mod.rs

1//! # Semver quarantine
2//!
3//! The traits in this module are the contract for backend and runtime
4//! authors. It has not yet been validated against every backend, so:
5//!
6//! **Breaking changes in `unversioned` ship in a minor version, not a major.**
7//!
8//! This trick is borrowed from `ureq`. Without it, 1.0 is unshippable: you
9//! can't freeze a trait without having checked it against native, wasi:http,
10//! and fetch.
11
12pub mod erased;
13mod hooks;
14mod timer;
15mod transport;
16mod websocket;
17
18pub use hooks::{
19    CloseReason, Closed, ConnectTiming, Connected, ConnectionId, Event, Head, Hooks, Informational,
20    NoHooks, Reused,
21};
22pub use timer::{Discard, Timer};
23pub use transport::Transport;
24pub use websocket::{CloseFrame, Message, WebSocket, WebSocketConnect};