Module wayland_server::sources [] [src]

Secondary event sources

This module contains the types & traits to work with different kind of event sources that can be registered to and event loop, other than the wayland protocol sockets.

Structs

FdEventSource

A handle to a registered FD event source

FdInterest

Flags to register interest on a file descriptor

SignalEventSource

A handle to a registered signal event source

TimerEventSource

A handle to a registered timer event source

Constants

READ

Interest to be notified when the file descriptor is readable

WRITE

Interest to be notified when the file descriptor is writable

Traits

FdEventSourceHandler

Trait for handlers for FD events

SignalEventSourceHandler

Trait for handlers of signal event sources

TimerEventSourceHandler

Trait for handlers for timer event sources