pub trait SocketAddressEnumeratorExt: 'static {
    fn next<P: IsA<Cancellable>>(
        &self,
        cancellable: Option<&P>
    ) -> Result<SocketAddress, Error>; fn next_async<P: IsA<Cancellable>, Q: FnOnce(Result<SocketAddress, Error>) + Send + 'static>(
        &self,
        cancellable: Option<&P>,
        callback: Q
    ); }

Required Methods

Implementors