Trait gio::prelude::SocketAddressEnumeratorExt
source · [−]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
sourcefn next(
fn next(
&self,
cancellable: Option<&impl IsA<Cancellable>>
) -> Result<SocketAddress, Error>
sourcefn next_async<P: FnOnce(Result<SocketAddress, Error>) + 'static>(
fn next_async<P: FnOnce(Result<SocketAddress, Error>) + 'static>(
&self,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
sourcefn next_future(