transferred_core/lib.rs
1//! `transferred-core` — connector-agnostic types: traits, error type, run report.
2#![doc(html_logo_url = "https://raw.githubusercontent.com/skatromb/transferred/main/logo.png")]
3
4mod error;
5mod report;
6#[cfg(feature = "dev")]
7pub mod test_utils;
8mod transfer;
9
10pub use error::TransferredError;
11pub use report::{Coercion, CoercionLevel, RunReport};
12pub use transfer::{BatchStream, Destination, Source, Transfer};
13
14/// Convenience alias for results returned by `transferred` operations.
15pub type Result<T> = std::result::Result<T, TransferredError>;