pub trait Loader:
DynClone
+ Send
+ Sync {
// Required method
fn into_stream(self) -> IndexingStream;
// Provided methods
fn into_stream_boxed(self: Box<Self>) -> IndexingStream { ... }
fn name(&self) -> &'static str { ... }
}
Expand description
Starting point of a stream
Required Methods§
fn into_stream(self) -> IndexingStream
Provided Methods§
Sourcefn into_stream_boxed(self: Box<Self>) -> IndexingStream
fn into_stream_boxed(self: Box<Self>) -> IndexingStream
fn name(&self) -> &'static str
Trait Implementations§
Source§impl Loader for &dyn Loader
impl Loader for &dyn Loader
fn into_stream(self) -> IndexingStream
Source§fn into_stream_boxed(self: Box<Self>) -> IndexingStream
fn into_stream_boxed(self: Box<Self>) -> IndexingStream
Intended for use with Box Read more
fn name(&self) -> &'static str
Source§impl Loader for Box<dyn Loader>
impl Loader for Box<dyn Loader>
fn into_stream(self) -> IndexingStream
Source§fn into_stream_boxed(self: Box<Self>) -> IndexingStream
fn into_stream_boxed(self: Box<Self>) -> IndexingStream
Intended for use with Box Read more