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