Enum x11rb::errors::LibxcbLoadError
source · pub enum LibxcbLoadError {
OpenLibError(OsString, String),
GetSymbolError(Vec<u8>, String),
}
Expand description
An error occurred while dynamically loading libxcb.
Variants§
OpenLibError(OsString, String)
Could not open the library. The OsString
is the library
file name and the string is the reason.
GetSymbolError(Vec<u8>, String)
Could not get a symbol from the library. The byte vector is the symbol name and the string is the reason.
Trait Implementations§
source§impl Clone for LibxcbLoadError
impl Clone for LibxcbLoadError
source§fn clone(&self) -> LibxcbLoadError
fn clone(&self) -> LibxcbLoadError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LibxcbLoadError
impl Debug for LibxcbLoadError
source§impl Display for LibxcbLoadError
impl Display for LibxcbLoadError
source§impl Error for LibxcbLoadError
impl Error for LibxcbLoadError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for LibxcbLoadError
impl RefUnwindSafe for LibxcbLoadError
impl Send for LibxcbLoadError
impl Sync for LibxcbLoadError
impl Unpin for LibxcbLoadError
impl UnwindSafe for LibxcbLoadError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more