Expand description
Per-client state
A wayland compositor needs to maintain a set of states for each connected wayland client. For example, each client could have a set of bound objects. This module defines a common interface for such state types, so a crate that implements different wayland protcol interfaces can rely on this common interface and be generic over whatever state type the compositor author chooses to use.
See traits
for definition of the interface. The rest of this module
provides some reference implementations of these interfaces.
The documentation on traits::Client
should give you a good idea of how
most of the stuffs fit together.
See also the crate level documentation for how Client
fits into the
overall picture.
Modules
- Default implementation of the
traits::EventDispatcher
trait. - Reference implementation of the
traits::Store
trait. - Traits related to the client context
Structs
- A reference implementation of the event dispatcher
- A reference object store implementation
Functions
- Reference implementation of the
traits::Client::dispatch
method.
Type Definitions
- Type of future returned by
dispatch_to
.