[−][src]Function hyper::server::accept::from_stream
pub fn from_stream<S, IO, E>(stream: S) -> impl Accept<Conn = IO, Error = E> where
S: Stream<Item = Result<IO, E>>, Adapt a Stream of incoming connections into an Accept.
Optional
This function requires enabling the stream feature in your
Cargo.toml.