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)>
Returns 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)