Trait gatekeeper::acceptor::Binder
source · pub trait Binder {
type Stream: ByteStream + 'static;
type Iter: Iterator<Item = (Self::Stream, SocketAddr)> + Send + 'static;
// Required method
fn bind(&self, addr: SocketAddr) -> Result<Self::Iter, Error>;
}