Trait input_core::InputSource
source · pub trait InputSource<T>:
Stream<Item = T>
+ Unpin
+ Send {
// Required method
fn set_active(
&mut self,
active: bool,
) -> Pin<Box<dyn Future<Output = ()> + Send + '_>>;
}
Expand description
Trait implemented by input sources.