Trait ReactorScoped
pub trait ReactorScoped: Stream + FusedStream {
type Input;
type Output;
// Required method
fn new<IS, OS>(input_stream: IS, output_sink: OS) -> Self
where IS: Stream<Item = Self::Input> + FusedStream + 'static,
OS: Sink<Self::Output, Error = !> + 'static;
}Expand description
A helper trait to extract the input and output type from a [ReactorStream].
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".