pub trait SocketAddressEnumeratorExt: 'static {
    fn next(
        &self,
        cancellable: Option<&impl IsA<Cancellable>>
    ) -> Result<SocketAddress, Error>; fn next_async<P: FnOnce(Result<SocketAddress, Error>) + 'static>(
        &self,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ); fn next_future(
        &self
    ) -> Pin<Box_<dyn Future<Output = Result<SocketAddress, Error>> + 'static>>; }

Required Methods

Implementors