GPollableInputStream

gio.pollable_input_stream.PollableInputStream is implemented by gio.input_stream.InputStreams that can be polled for readiness to read. This can be used when interfacing with a non-GIO API that expects UNIX-file-descriptor-style asynchronous I/O rather than GIO-style.

Some classes may implement gio.pollable_input_stream.PollableInputStream but have only certain instances of that class be pollable. If gio.pollable_input_stream.PollableInputStream.canPoll returns false, then the behavior of other gio.pollable_input_stream.PollableInputStream methods is undefined.

struct GPollableInputStream