telnet 0.2.5

A simple implementation of telnet protocol.
Documentation
1
2
3
4
5
6
7
8
9
use crate::stream::Stream;

/// Stream with ability to be upgraded to zlib stream.
pub trait ZCStream: Stream {
    /// Begin zlib decompression on downstream. Ignored if already enabled.
    fn begin_zlib(&mut self);
    /// Stop zlib decompression on downstream. Ignored if already disabled.
    fn end_zlib(&mut self);
}