Struct tiny_xlib::ErrorEvent
source · pub struct ErrorEvent(/* private fields */);
Expand description
The error event type.
Implementations§
source§impl ErrorEvent
impl ErrorEvent
sourcepub fn error_code(&self) -> u8
pub fn error_code(&self) -> u8
Get the error code.
sourcepub fn request_code(&self) -> u8
pub fn request_code(&self) -> u8
Get the request code.
sourcepub fn minor_code(&self) -> u8
pub fn minor_code(&self) -> u8
Get the minor opcode of the failed request.
sourcepub fn resource_id(&self) -> usize
pub fn resource_id(&self) -> usize
Get the resource ID of the failed request.
Trait Implementations§
source§impl Clone for ErrorEvent
impl Clone for ErrorEvent
source§fn clone(&self) -> ErrorEvent
fn clone(&self) -> ErrorEvent
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 ErrorEvent
impl Debug for ErrorEvent
impl Send for ErrorEvent
impl Sync for ErrorEvent
Auto Trait Implementations§
impl Freeze for ErrorEvent
impl RefUnwindSafe for ErrorEvent
impl Unpin for ErrorEvent
impl UnwindSafe for ErrorEvent
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