Skip to main content

Input

Trait Input 

Source
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§

Source

fn set_output(&self, output: Weak<dyn Output>)

Source

fn fetch(&self, req: &FetchRequest) -> NodeStream

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§