Trait xcb::BaseError

source ·
pub trait BaseError: Raw<xcb_generic_error_t> {
    const EXTENSION: Option<Extension>;
    const NUMBER: u32;
}
Expand description

A trait to designate base protocol errors.

The base errors follow the usual resolution idiom of error_code offset.

This should be completely transparent to the user, as ProtocolError is resolving all types of errors together.

Required Associated Constants§

source

const EXTENSION: Option<Extension>

The extension associated to this error, or None for the main protocol

source

const NUMBER: u32

The number associated to this error

Object Safety§

This trait is not object safe.

Implementors§

source§

impl BaseError for BadDamageError

source§

impl BaseError for GenericError

source§

const EXTENSION: Option<Extension> = _

source§

const NUMBER: u32 = 4_294_967_295u32

source§

impl BaseError for BadCrtcError

source§

impl BaseError for BadModeError

source§

impl BaseError for BadOutputError

source§

impl BaseError for BadProviderError

source§

impl BaseError for xcb::record::BadContextError

source§

impl BaseError for GlyphError

source§

impl BaseError for GlyphSetError

source§

impl BaseError for PictFormatError

source§

impl BaseError for PictOpError

source§

impl BaseError for PictureError

source§

impl BaseError for AlarmError

source§

impl BaseError for CounterError

source§

impl BaseError for RequestError

source§

impl BaseError for ValueError

source§

impl BaseError for BadClockError

source§

impl BaseError for BadHTimingsError

source§

impl BaseError for BadVTimingsError

source§

impl BaseError for ClientNotLocalError

source§

impl BaseError for ExtensionDisabledError

source§

impl BaseError for ModeUnsuitableError

source§

impl BaseError for ZoomLockedError

source§

impl BaseError for BadRegionError

source§

impl BaseError for ClassError

source§

impl BaseError for DeviceBusyError

source§

impl BaseError for DeviceError

source§

impl BaseError for EventError

source§

impl BaseError for ModeError

source§

impl BaseError for KeyboardError

source§

impl BaseError for xcb::xprint::BadContextError

source§

impl BaseError for BadSequenceError

source§

impl BaseError for BadControlError

source§

impl BaseError for BadEncodingError

source§

impl BaseError for BadPortError