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
0: RequestError
Value(ValueError)
Tuple Fields
0: ValueError
Window(WindowError)
Tuple Fields
0: WindowError
Pixmap(PixmapError)
Tuple Fields
0: PixmapError
Atom(AtomError)
Tuple Fields
0: AtomError
Cursor(CursorError)
Tuple Fields
0: CursorError
Font(FontError)
Tuple Fields
0: FontError
Match(MatchError)
Tuple Fields
0: MatchError
Drawable(DrawableError)
Tuple Fields
Access(AccessError)
Tuple Fields
0: AccessError
Alloc(AllocError)
Tuple Fields
0: AllocError
Colormap(ColormapError)
Tuple Fields
GContext(GContextError)
Tuple Fields
IdChoice(IdChoiceError)
Tuple Fields
Name(NameError)
Tuple Fields
0: NameError
Length(LengthError)
Tuple Fields
0: LengthError
Implementation(ImplementationError)
Tuple Fields
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