Enum wayland_client::ConnectError [−][src]
pub enum ConnectError { NoWaylandLib, XdgRuntimeDirNotSet, NoCompositorListening, InvalidName, InvalidFd, }
Enum representing the possible reasons why connecting to the wayland server failed
Variants
NoWaylandLib
The library was compiled with the dlopen
feature, and the libwayland-client.so
library could not be found at runtime
XdgRuntimeDirNotSet
The XDG_RUNTIME_DIR
variable is not set while it should be
NoCompositorListening
Any needed library was found, but the listening socket of the server could not be found.
Most of the time, this means that the program was not started from a wayland session.
InvalidName
The provided socket name is invalid
InvalidFd
The FD provided in WAYLAND_SOCKET
was invalid
Trait Implementations
impl Debug for ConnectError
[src]
impl Debug for ConnectError
Auto Trait Implementations
impl Send for ConnectError
impl Send for ConnectError
impl Sync for ConnectError
impl Sync for ConnectError