Trait std::io::Acceptor
pub trait Acceptor<T> { fn accept(&mut self) -> IoResult<T>; fn incoming<'r>(&'r mut self) -> IncomingConnections<'r, Self> { ... } }
An acceptor is a value that presents incoming connections
Required Methods
Provided Methods
fn incoming<'r>(&'r mut self) -> IncomingConnections<'r, Self>
Create an iterator over incoming connection attempts.
Note that I/O errors will be yielded by the iterator itself.