[][src]Trait gio::SocketAddressEnumeratorExt

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
    );
fn next_async_future(
        &self
    ) -> Pin<Box_<dyn Future<Output = Result<SocketAddress, Error>> + 'static>>; }

Required methods

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
)

fn next_async_future(
    &self
) -> Pin<Box_<dyn Future<Output = Result<SocketAddress, Error>> + 'static>>

Loading content...

Implementors

impl<O: IsA<SocketAddressEnumerator>> SocketAddressEnumeratorExt for O[src]

Loading content...