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§
Provided Methods§
fn boxed_input(self) -> BoxedInput<Self::InputId, Self::Item>where
Self: Sized + 'static,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".