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