Trait Input

Source
pub trait Input: Stream + Send {
    type InputId;

    // Required method
    fn id(&self) -> Self::InputId;

    // Provided method
    fn boxed_input(self) -> BoxedInput<Self::InputId, Self::Item>
       where Self: Sized + 'static { ... }
}
Expand description

Input is a more abstract upstream input type, used for DynamicReceivers type handling of multiple upstream inputs

Required Associated Types§

Required Methods§

Source

fn id(&self) -> Self::InputId

The upstream input id.

Provided Methods§

Source

fn boxed_input(self) -> BoxedInput<Self::InputId, Self::Item>
where Self: Sized + 'static,

Implementors§