pub trait Loader:
DynClone
+ Send
+ Sync {
type Output: Chunk;
// Required method
fn into_stream(self) -> IndexingStream<Self::Output>;
// Provided methods
fn into_stream_boxed(self: Box<Self>) -> IndexingStream<Self::Output> { ... }
fn name(&self) -> &'static str { ... }
}
Expand description
Starting point of a stream