1 2 3 4 5 6 7 8 9 10 11
//! Common helpers for implementing sources use crate::retrieve::RetrievedDocument; use std::fmt::{Debug, Display}; pub mod file; pub trait Source { type Error: Display + Debug; type Retrieved: RetrievedDocument; }