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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.