Enum wayland_client::ConnectError [−][src]
pub enum ConnectError {
NoWaylandLib,
XdgRuntimeDirNotSet,
NoCompositorListening,
InvalidName,
InvalidFd,
}Expand description
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 was not.
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
Auto Trait Implementations
impl RefUnwindSafe for ConnectError
impl Send for ConnectError
impl Sync for ConnectError
impl Unpin for ConnectError
impl UnwindSafe for ConnectError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more