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]
impl Clone for XNotSupported
fn clone(&self) -> XNotSupported
[src]
fn clone(&self) -> XNotSupported
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for XNotSupported
[src]
impl Debug for XNotSupported
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<OpenError> for XNotSupported
[src]
impl From<OpenError> for XNotSupported
fn from(err: OpenError) -> XNotSupported
[src]
fn from(err: OpenError) -> XNotSupported
Performs the conversion.
impl Error for XNotSupported
[src]
impl Error for XNotSupported
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for XNotSupported
[src]
impl Display for XNotSupported
Auto Trait Implementations
impl Send for XNotSupported
impl Send for XNotSupported
impl Sync for XNotSupported
impl Sync for XNotSupported