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

The library was compiled with the dlopen feature, and the libwayland-client.so library could not be found at runtime

The XDG_RUNTIME_DIR variable is not set while it should be

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.

The provided socket name is invalid

The FD provided in WAYLAND_SOCKET was invalid

Trait Implementations

impl Debug for ConnectError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations