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
Access(AccessError)
Tuple Fields of Access
0: AccessError
Alloc(AllocError)
Tuple Fields of Alloc
0: AllocError
Colormap(ColormapError)
Tuple Fields of Colormap
GContext(GContextError)
Tuple Fields of GContext
IdChoice(IdChoiceError)
Tuple Fields of IdChoice
Name(NameError)
Tuple Fields of Name
0: NameError
Length(LengthError)
Tuple Fields of Length
0: LengthError
Implementation(ImplementationError)
Tuple Fields of Implementation
Trait Implementations
Convert a pointer to xcb_generic_error_t
to Self
, inferring the correct subtype
using response_type
field and first_error
. Read more