[ CCode ( cprefix = "G_POLLABLE_RETURN_" , type_id = "g_pollable_return_get_type ()" ) ]
[ Version ( since = "2.60" ) ]
public enum PollableReturn

Return value for various IO operations that signal errors via the return value and not necessarily via a Error.

This enum exists to be able to return errors to callers without having to allocate a Error . Allocating Errors can be quite expensive for regularly happening errors like g_io_error_would_block.

In case of g_pollable_return_failed a Error should be set for the operation to give details about the error that happened.

Namespace: GLib
Package: gio-2.0


Enum values: