matier_core/lib.rs
1//! Shared types for Matier: buffer facade over `bytesbuf`, request [`Body`], [`Error`] with recovery
2//! classification, [`OriginKey`], the [`Observer`] instrumentation hooks and per-request extension types.
3
4pub mod body;
5pub mod buf;
6pub mod error;
7pub mod ext;
8pub mod observer;
9pub mod origin;
10
11pub use body::{Body, BodySender, BodyStream};
12pub use buf::{BytesBuf, BytesView};
13pub use error::{Error, ErrorKind, Recovery, Result};
14pub use ext::{BodyTimeout, ConnectionInfo, Priority, ResponseTimeout, UriTemplate};
15pub use layered::Service;
16pub use observer::{ConnectPhase, NoopObserver, Observer, ScaleReason};
17pub use origin::{OriginKey, Protocol, Scheme};