pub trait Source {
// Required method
fn run(self, sink: &mut dyn Sink) -> Result<Flow, Fail>;
}Expand description
Something that can drive a sink with one document’s events.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".