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)
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)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more