Enum xcb::x::Error[][src]

pub enum Error {
Show 17 variants Request(RequestError), Value(ValueError), Window(WindowError), Pixmap(PixmapError), Atom(AtomError), Cursor(CursorError), Font(FontError), Match(MatchError), Drawable(DrawableError), Access(AccessError), Alloc(AllocError), Colormap(ColormapError), GContext(GContextError), IdChoice(IdChoiceError), Name(NameError), Length(LengthError), Implementation(ImplementationError),
}
Expand description

Unified error type for the X core protocol

Variants

Request(RequestError)

Tuple Fields of Request

0: RequestError
Value(ValueError)

Tuple Fields of Value

0: ValueError
Window(WindowError)

Tuple Fields of Window

0: WindowError
Pixmap(PixmapError)

Tuple Fields of Pixmap

0: PixmapError
Atom(AtomError)

Tuple Fields of Atom

0: AtomError
Cursor(CursorError)

Tuple Fields of Cursor

0: CursorError
Font(FontError)

Tuple Fields of Font

0: FontError
Match(MatchError)

Tuple Fields of Match

0: MatchError
Drawable(DrawableError)

Tuple Fields of Drawable

0: DrawableError
Access(AccessError)

Tuple Fields of Access

0: AccessError
Alloc(AllocError)

Tuple Fields of Alloc

0: AllocError
Colormap(ColormapError)

Tuple Fields of Colormap

0: ColormapError
GContext(GContextError)

Tuple Fields of GContext

0: GContextError
IdChoice(IdChoiceError)

Tuple Fields of IdChoice

0: IdChoiceError
Name(NameError)

Tuple Fields of Name

0: NameError
Length(LengthError)

Tuple Fields of Length

0: LengthError
Implementation(ImplementationError)

Tuple Fields of Implementation

0: ImplementationError

Trait Implementations

Formats the value using the given formatter. Read more

Convert a pointer to xcb_generic_error_t to Self, inferring the correct subtype using response_type field and first_error. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.