Module skylane::server [] [src]

Server part of skylane crate.

Structs

Bundle

Bundle is passed to objects while invocation of their methods and can be used by them to add/remove new objects or access socket. It also serves this crate internally as data store.

Connection

Structure aggregating all information about connection. Precesses events and dispatches them to registered listeners.

Controller

Structure providing control over connection. Allows adding and removing objects but processing messages is left for Connection.

DisplaySocket

Structure representing global socket on server side.

Header

Header of Wayland message.

ObjectId

Structure representing ID of protocol object.

Socket

Structure representing connection between server and client.

Enums

SkylaneError

Enumeration for all skylane errors.

Task

Return enumeration for callbacks.

Constants

DISPLAY_ID

Default ID of main global object.

Traits

Object

This trait has to be implemented by all objects to be registered as message handlers in Connection.

Type Definitions

Logger

Type alias for logging function.