pub struct XcbErrorParser { /* private fields */ }Implementations§
Source§impl XcbErrorParser
impl XcbErrorParser
pub unsafe fn new(xcb: &Xcb, c: *mut xcb_connection_t) -> Self
pub unsafe fn parse(&self, e: &xcb_generic_error_t) -> XcbError
pub unsafe fn check<T>( &self, xcb: &Xcb, t: *mut T, e: *mut xcb_generic_error_t, ) -> Result<XcbBox<T>, XcbError>
pub unsafe fn check_val<T>( &self, xcb: &Xcb, t: *mut T, ) -> Result<XcbBox<T>, XcbError>
pub unsafe fn check_connection(&self, xcb: &Xcb) -> Result<(), XcbError>
pub unsafe fn check_err( &self, e: *mut xcb_generic_error_t, ) -> Result<(), XcbError>
Trait Implementations§
Auto Trait Implementations§
impl !Send for XcbErrorParser
impl !Sync for XcbErrorParser
impl Freeze for XcbErrorParser
impl RefUnwindSafe for XcbErrorParser
impl Unpin for XcbErrorParser
impl UnsafeUnpin for XcbErrorParser
impl UnwindSafe for XcbErrorParser
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