Function from_stream
pub fn from_stream<S, IO, E>(stream: S) -> impl Accept<Conn = IO, Error = E>
Expand description
Adapt a Stream
of incoming connections into an Accept
.
ยงOptional
This function requires enabling the stream
feature in your
Cargo.toml
.