Enum winit::os::unix::XNotSupported
[−]
[src]
pub enum XNotSupported { LibraryOpenError(OpenError), XOpenDisplayFailed, }
Error returned if this system doesn't have XLib or can't create an X connection.
Variants
LibraryOpenError(OpenError)
Failed to load one or several shared libraries.
XOpenDisplayFailed
Connecting to the X server with XOpenDisplay
failed.
Trait Implementations
impl Clone for XNotSupported
[src]
fn clone(&self) -> XNotSupported
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for XNotSupported
[src]
impl From<OpenError> for XNotSupported
[src]
fn from(err: OpenError) -> XNotSupported
[src]
Performs the conversion.
impl Error for XNotSupported
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more