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
NoWaylandLibThe library was compiled with the dlopen feature, and the libwayland-client.so
library could not be found at runtime
XdgRuntimeDirNotSetThe XDG_RUNTIME_DIR variable is not set while it should be
NoCompositorListeningAny 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.
InvalidNameThe provided socket name is invalid
InvalidFdThe FD provided in WAYLAND_SOCKET was invalid
Trait Implementations
impl Debug for ConnectError[src]
impl Debug for ConnectErrorAuto Trait Implementations
impl Send for ConnectError
impl Send for ConnectErrorimpl Sync for ConnectError
impl Sync for ConnectError