Trait ngrok::session::IoStream

source ·
pub trait IoStream: AsyncRead + AsyncWrite + Unpin + Send + 'static { }
Expand description

A trait alias for types that can provide the base ngrok transport, i.e. bidirectional byte streams.

It is blanket-implemented for all types that satisfy its bounds. Most commonly, it will be a tls-wrapped tcp stream.

Implementors§

source§

impl<T> IoStream for T
where T: AsyncRead + AsyncWrite + Unpin + Send + 'static,