xcb::x

Type Alias NameError

source
pub type NameError = RequestError;
Expand description

The NameError error.

Aliased Type§

struct NameError { /* private fields */ }

Implementations

source§

impl RequestError

source

pub fn response_type(&self) -> u8

source

pub fn error_code(&self) -> u8

source

pub fn sequence(&self) -> u16

source

pub fn bad_value(&self) -> u32

source

pub fn minor_opcode(&self) -> u16

source

pub fn major_opcode(&self) -> u8

Trait Implementations

source§

impl BaseError for RequestError

source§

const EXTENSION: Option<Extension> = None

The extension associated to this error, or None for the main protocol
source§

const NUMBER: u32 = 1u32

The number associated to this error
source§

impl Debug for RequestError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for RequestError

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Raw<xcb_generic_error_t> for RequestError

source§

unsafe fn from_raw(raw: *mut xcb_generic_error_t) -> Self

Build Self from a raw pointer Read more
source§

fn as_raw(&self) -> *mut xcb_generic_error_t

Obtain the raw pointer representation
source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
source§

impl Send for RequestError

source§

impl Sync for RequestError