pub trait ConnectionStream {
type Item: Connection;
// Required method
fn poll_next(&mut self) -> Poll<Option<Self::Item>, Error>;
}Expand description
An asynchronous stream of connections.
Required Associated Types§
Sourcetype Item: Connection
type Item: Connection
Connection type yielded each iteration.