Trait gio::prelude::SocketAddressEnumeratorExt
source · pub trait SocketAddressEnumeratorExt: IsA<SocketAddressEnumerator> + Sealed + 'static {
// Provided 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>> { ... }
}
Provided 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>>
Object Safety§
This trait is not object safe.