Struct xproto::xError[][src]

#[repr(C)]pub struct xError {
    pub type_: BYTE,
    pub errorCode: BYTE,
    pub sequenceNumber: CARD16,
    pub resourceID: CARD32,
    pub minorCode: CARD16,
    pub majorCode: CARD8,
    pub pad1: BYTE,
    pub pad3: CARD32,
    pub pad4: CARD32,
    pub pad5: CARD32,
    pub pad6: CARD32,
    pub pad7: CARD32,
}

Xerror All errors are 32 bytes

Fields

type_: BYTEerrorCode: BYTEsequenceNumber: CARD16resourceID: CARD32minorCode: CARD16majorCode: CARD8pad1: BYTEpad3: CARD32pad4: CARD32pad5: CARD32pad6: CARD32pad7: CARD32

Trait Implementations

impl Clone for xError[src]

impl Copy for xError[src]

impl Debug for xError[src]

impl Eq for xError[src]

impl Parcel for xError[src]

impl PartialEq<xError> for xError[src]

impl StructuralEq for xError[src]

impl StructuralPartialEq for xError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.