pub struct StdinMultiplexer { /* private fields */ }Expand description
A shared stdin reader that can be monitored by a background thread to intercept control characters (like Ctrl-C) on platforms without signals.
Implementations§
Source§impl StdinMultiplexer
impl StdinMultiplexer
pub fn new(cancel_token: CancellationToken) -> Arc<Self> ⓘ
pub fn subscribe(&self) -> MultiplexedReader ⓘ
Auto Trait Implementations§
impl !Freeze for StdinMultiplexer
impl RefUnwindSafe for StdinMultiplexer
impl Send for StdinMultiplexer
impl Sync for StdinMultiplexer
impl Unpin for StdinMultiplexer
impl UnsafeUnpin for StdinMultiplexer
impl UnwindSafe for StdinMultiplexer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more