Struct xcb::base::Error [] [src]

pub struct Error<T> {
    pub ptr: *mut T,
}

Error wraps a pointer to xcb_*_error_t this pointer will be freed when the Error goes out of scope

Fields

ptr: *mut T

Methods

impl<T> Error<T>
[src]

fn response_type(&self) -> u8

fn error_code(&self) -> u8

Trait Implementations

impl<T: Debug> Debug for Error<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<T> Drop for Error<T>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more