[−][src]Trait tokio_proto::streaming::pipeline::Transport
Additional transport details relevant to streaming, pipelined protocols.
All methods added in this trait have default implementations.
Provided methods
fn tick(&mut self)
Allow the transport to do miscellaneous work (e.g., sending ping-pong messages) that is not directly connected to sending or receiving frames.
This method should be called every time the task using the transport is executing.
fn cancel(&mut self) -> Result<()>
Cancel interest in the current stream
Implementations on Foreign Types
impl<T, C> Transport for Framed<T, C> where
T: Io + 'static,
C: Codec + 'static,
[src]
T: Io + 'static,
C: Codec + 'static,
impl<T, C> Transport for Framed<T, C> where
T: AsyncRead + AsyncWrite + 'static,
C: Encoder<Error = Error> + Decoder<Error = Error> + 'static,
[src]
Loading content...
T: AsyncRead + AsyncWrite + 'static,
C: Encoder<Error = Error> + Decoder<Error = Error> + 'static,