summaryrefslogtreecommitdiffstats
path: root/src/tty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tty.rs')
-rw-r--r--src/tty.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tty.rs b/src/tty.rs
index 603c821..a4ab27f 100644
--- a/src/tty.rs
+++ b/src/tty.rs
@@ -23,13 +23,13 @@ pub enum StreamType {
/// A multiplexed stream.
pub struct Multiplexed {
- stdin: Box<AsyncWrite>,
- chunks: Box<futures::Stream<Item = Chunk, Error = crate::Error>>,
+ stdin: Box<dyn AsyncWrite>,
+ chunks: Box<dyn futures::Stream<Item = Chunk, Error = crate::Error>>,
}
pub struct MultiplexedBlocking {
- stdin: Box<AsyncWrite>,
- chunks: Box<Iterator<Item = Result<Chunk, crate::Error>>>,
+ stdin: Box<dyn AsyncWrite>,
+ chunks: Box<dyn Iterator<Item = Result<Chunk, crate::Error>>>,
}
/// Represent the current state of the decoding of a TTY frame