Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. class (GObject o, IsDescendantOf SocketAddressEnumerator o) => IsSocketAddressEnumerator o

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Type class for types which can be safely cast to SocketAddressEnumerator, for instance with toSocketAddressEnumerator.

  2. newtype SocketAddressEnumerator

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Memory-managed wrapper type.

  3. SocketAddressEnumerator :: ManagedPtr SocketAddressEnumerator -> SocketAddressEnumerator

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    No documentation available.

  4. socketAddressEnumeratorNext :: (HasCallStack, MonadIO m, IsSocketAddressEnumerator a, IsCancellable b) => a -> Maybe b -> m (Maybe SocketAddress)

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Retrieves the next SocketAddress from enumerator. Note that this may block for some amount of time. (Eg, a NetworkAddress may need to do a DNS lookup before it can return an address.) Use socketAddressEnumeratorNextAsync if you need to avoid blocking. If enumerator is expected to yield addresses, but for some reason is unable to (eg, because of a DNS error), then the first call to socketAddressEnumeratorNext will return an appropriate error in *error. However, if the first call to socketAddressEnumeratorNext succeeds, then any further internal errors (other than cancellable being triggered) will be ignored.

  5. socketAddressEnumeratorNextAsync :: (HasCallStack, MonadIO m, IsSocketAddressEnumerator a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Asynchronously retrieves the next SocketAddress from enumerator and then calls callback, which must call socketAddressEnumeratorNextFinish to get the result. It is an error to call this multiple times before the previous callback has finished.

  6. socketAddressEnumeratorNextFinish :: (HasCallStack, MonadIO m, IsSocketAddressEnumerator a, IsAsyncResult b) => a -> b -> m (Maybe SocketAddress)

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Retrieves the result of a completed call to socketAddressEnumeratorNextAsync. See socketAddressEnumeratorNext for more information about error handling.

  7. toSocketAddressEnumerator :: (MonadIO m, IsSocketAddressEnumerator o) => o -> m SocketAddressEnumerator

    gi-gio GI.Gio.Objects.SocketAddressEnumerator

    Cast to SocketAddressEnumerator, for types for which this is known to be safe. For general casts, use castTo.

  8. clearDBusSubtreeVTableEnumerate :: MonadIO m => DBusSubtreeVTable -> m ()

    gi-gio GI.Gio.Structs.DBusSubtreeVTable

    Set the value of the “enumerate” field to Nothing. When overloading is enabled, this is equivalent to

    clear #enumerate
    

  9. getDBusSubtreeVTableEnumerate :: MonadIO m => DBusSubtreeVTable -> m (Maybe DBusSubtreeEnumerateFunc_WithClosures)

    gi-gio GI.Gio.Structs.DBusSubtreeVTable

    Get the value of the “enumerate” field. When overloading is enabled, this is equivalent to

    get dBusSubtreeVTable #enumerate
    

  10. setDBusSubtreeVTableEnumerate :: MonadIO m => DBusSubtreeVTable -> FunPtr C_DBusSubtreeEnumerateFunc -> m ()

    gi-gio GI.Gio.Structs.DBusSubtreeVTable

    Set the value of the “enumerate” field. When overloading is enabled, this is equivalent to

    set dBusSubtreeVTable [ #enumerate := value ]
    

Page 121 of many | Previous | Next