pub trait Input: InputBase {
// Required methods
fn set_output(&self, output: Weak<dyn Output>);
fn fetch(&self, req: &FetchRequest) -> NodeStream;
}Expand description
An operator’s input: something that can be fetched from and pushes to an output.
Required Methods§
fn set_output(&self, output: Weak<dyn Output>)
fn fetch(&self, req: &FetchRequest) -> NodeStream
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".