#[repr(C)]
pub struct xcb_generic_error_t { pub response_type: u8, pub error_code: u8, pub sequence: u16, pub resource_id: u32, pub minor_code: u16, pub major_code: u8, pub pad0: u8, pub pad: [u32; 5], pub full_sequence: u32, }
Expand description

Generic error

Fields§

§response_type: u8§error_code: u8§sequence: u16§resource_id: u32§minor_code: u16§major_code: u8§pad0: u8§pad: [u32; 5]§full_sequence: u32

Trait Implementations§

source§

impl Clone for xcb_generic_error_t

source§

fn clone(&self) -> xcb_generic_error_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for xcb_generic_error_t

source§

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

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

impl Raw<xcb_generic_error_t> for AlarmError

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 Raw<xcb_generic_error_t> for BadClockError

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 Raw<xcb_generic_error_t> for BadContextError

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 Raw<xcb_generic_error_t> for BadContextError

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 Raw<xcb_generic_error_t> for BadControlError

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 Raw<xcb_generic_error_t> for BadCrtcError

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 Raw<xcb_generic_error_t> for BadDamageError

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 Raw<xcb_generic_error_t> for BadEncodingError

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 Raw<xcb_generic_error_t> for BadHTimingsError

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 Raw<xcb_generic_error_t> for BadModeError

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 Raw<xcb_generic_error_t> for BadOutputError

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 Raw<xcb_generic_error_t> for BadPortError

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 Raw<xcb_generic_error_t> for BadProviderError

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 Raw<xcb_generic_error_t> for BadRegionError

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 Raw<xcb_generic_error_t> for BadSequenceError

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 Raw<xcb_generic_error_t> for BadVTimingsError

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 Raw<xcb_generic_error_t> for ClassError

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 Raw<xcb_generic_error_t> for ClientNotLocalError

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 Raw<xcb_generic_error_t> for CounterError

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 Raw<xcb_generic_error_t> for DeviceBusyError

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 Raw<xcb_generic_error_t> for DeviceError

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 Raw<xcb_generic_error_t> for EventError

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 Raw<xcb_generic_error_t> for ExtensionDisabledError

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 Raw<xcb_generic_error_t> for GenericError

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 Raw<xcb_generic_error_t> for GlyphError

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 Raw<xcb_generic_error_t> for GlyphSetError

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 Raw<xcb_generic_error_t> for KeyboardError

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 Raw<xcb_generic_error_t> for ModeError

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 Raw<xcb_generic_error_t> for ModeUnsuitableError

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 Raw<xcb_generic_error_t> for PictFormatError

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 Raw<xcb_generic_error_t> for PictOpError

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 Raw<xcb_generic_error_t> for PictureError

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 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 Raw<xcb_generic_error_t> for UnknownError

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 Raw<xcb_generic_error_t> for ValueError

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 Raw<xcb_generic_error_t> for ZoomLockedError

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 Copy for xcb_generic_error_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.