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
//! Exc-core: Abstractions for exchanges (the core part).
#![deny(missing_docs)]
/// Exchange.
pub mod exchange;
/// Transport.
pub mod transport;
/// Types.
pub mod types;
/// Errors.
pub mod error;
#[cfg(feature = "retry")]
/// Retry.
pub mod retry;
/// Utils.
pub mod util;
pub use self::types::{Adaptor, Request};
pub use error::ExchangeError;
pub use exchange::{
service::{Exc, ExcMut},
Exchange, ExchangeLayer, ExchangeService,
};