Trait hyper::server::Accept [] [src]

pub trait Accept: Stream<Error=Error> { }

An Acceptor is an incoming Stream of Io.

This trait is not implemented directly, and only exists to make the intent clearer. A Stream<Item=(Io, SocketAddr), Error=io::Error> should be implemented instead.

Implementors