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.
Associated Constants
The extension associated to this error, or None
for the main protocol