Struct xcb_generic_error_t

Source
#[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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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,

Source§

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>,

Source§

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>,

Source§

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.