pub trait Source: Send + Sync {
type Pages<'a>: Stream<Item = Result<Page<'a>>> + Send + 'a
where Self: 'a;
// Required methods
fn kind(&self) -> &'static str;
fn discover<'a>(&'a self, root: &'a SourceRef) -> Self::Pages<'a>;
}Expand description
Discovers and yields the pages to index from a parent reference.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".