1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! Endpoint related types.

mod after;
mod and_then;
mod around;
mod before;
mod catch_all_error;
mod catch_error;
#[cfg(feature = "embed")]
mod embed;
#[allow(clippy::module_inception)]
mod endpoint;
mod inspect_all_err;
mod inspect_err;
mod map;
mod map_to_response;
#[cfg(feature = "prometheus")]
mod prometheus_exporter;
#[cfg(feature = "static-files")]
mod static_files;
mod to_response;
#[cfg(feature = "tower-compat")]
mod tower_compat;

pub use after::After;
pub use and_then::AndThen;
pub use around::Around;
pub use before::Before;
pub use catch_all_error::CatchAllError;
pub use catch_error::CatchError;
#[cfg(feature = "embed")]
pub use embed::{EmbeddedFileEndpoint, EmbeddedFilesEndpoint};
pub use endpoint::{
    make, make_sync, BoxEndpoint, DynEndpoint, Endpoint, EndpointExt, IntoEndpoint, ToDynEndpoint,
};
pub use inspect_all_err::InspectAllError;
pub use inspect_err::InspectError;
pub use map::Map;
pub use map_to_response::MapToResponse;
#[cfg(feature = "prometheus")]
pub use prometheus_exporter::PrometheusExporter;
#[cfg(feature = "static-files")]
pub use static_files::{StaticFileEndpoint, StaticFilesEndpoint};
pub use to_response::ToResponse;
#[cfg(feature = "tower-compat")]
pub use tower_compat::TowerCompatExt;