Enum wayrs_client::ConnectError
source · pub enum ConnectError {
NotEnoughEnvVars,
Io(Error),
}Expand description
An error that can occur while connecting to a Wayland socket.
Variants§
NotEnoughEnvVars
Either $XDG_RUNTIME_DIR or $WAYLAND_DISPLAY was not available.
Io(Error)
Some IO error.
Trait Implementations§
source§impl Debug for ConnectError
impl Debug for ConnectError
source§impl Display for ConnectError
impl Display for ConnectError
source§impl Error for ConnectError
impl Error for ConnectError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()