pub struct XcbError {
pub error_code: u8,
pub sequence: u32,
pub major: u8,
pub minor: u16,
pub ty: XcbErrorType,
}Fields§
§error_code: u8§sequence: u32§major: u8§minor: u16§ty: XcbErrorTypeTrait Implementations§
Source§impl Error for XcbError
impl Error for XcbError
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()
Source§impl From<XcbError> for XcbGetPropertyError
impl From<XcbError> for XcbGetPropertyError
Source§impl From<XcbErrorType> for XcbError
impl From<XcbErrorType> for XcbError
Source§fn from(e: XcbErrorType) -> Self
fn from(e: XcbErrorType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for XcbError
impl RefUnwindSafe for XcbError
impl Send for XcbError
impl Sync for XcbError
impl Unpin for XcbError
impl UnsafeUnpin for XcbError
impl UnwindSafe for XcbError
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