Module protocol

Source
Expand description

The protocol used during communication.

Modules§

bigreq
Bindings to the BigRequests X11 extension.
composite
Bindings to the Composite X11 extension.
damage
Bindings to the Damage X11 extension.
dpms
Bindings to the DPMS X11 extension.
dri2
Bindings to the DRI2 X11 extension.
dri3
Bindings to the DRI3 X11 extension.
ge
Bindings to the GenericEvent X11 extension.
glx
Bindings to the Glx X11 extension.
present
Bindings to the Present X11 extension.
randr
Bindings to the RandR X11 extension.
record
Bindings to the Record X11 extension.
render
Bindings to the Render X11 extension.
res
Bindings to the Res X11 extension.
screensaver
Bindings to the ScreenSaver X11 extension.
shape
Bindings to the Shape X11 extension.
shm
Bindings to the Shm X11 extension.
sync
Bindings to the Sync X11 extension.
xc_misc
Bindings to the XCMisc X11 extension.
xevie
Bindings to the Xevie X11 extension.
xf86dri
Bindings to the XF86Dri X11 extension.
xf86vidmode
Bindings to the XF86VidMode X11 extension.
xfixes
Bindings to the XFixes X11 extension.
xinerama
Bindings to the Xinerama X11 extension.
xinput
Bindings to the Input X11 extension.
xkb
Bindings to the xkb X11 extension.
xprint
Bindings to the XPrint X11 extension.
xproto
Bindings to the core X11 protocol.
xselinux
Bindings to the SELinux X11 extension.
xtest
Bindings to the Test X11 extension.
xv
Bindings to the Xv X11 extension.
xvmc
Bindings to the XvMC X11 extension.

Structs§

ExtensionInformation
Information about a X11 extension.
RequestHeader
A representation of the header of a request.
X11Error
Representation of an X11 error packet that was sent by the server.

Enums§

BigRequests
Has the BigRequests extension been enabled?
DiscardMode
Variants describing which responses to a request should be discarded.
ErrorKind
Enumeration of all possible X11 error kinds.
Event
Enumeration of all possible X11 events.
Reply
Enumeration of all possible X11 replies.
ReplyFdKind
Information about the reply to an X11 request.

Traits§

ExtInfoProvider
Trait to provide information about extensions.
ReplyFDsRequest
A X11 request that has a reply with FDs
ReplyRequest
A X11 request that has a reply without FDs
Serialize
A type implementing this trait can be serialized into X11 raw bytes.
TryParse
A type implementing this trait can be parsed from some raw bytes.
TryParseFd
A type implementing this trait can be parsed from some raw bytes and a list of fds.
VoidRequest
A X11 request that does not have a reply

Functions§

parse_request_header
Parse the given input for a RequestHeader and the remaining input.

Type Aliases§

ReplyParsingFunction
A type alias for reply parsers (matches the signature of TryParseFd).