Enum xcb::ProtocolError
source · pub enum ProtocolError {
Show 13 variants
X(Error, Option<&'static str>),
Damage(Error, Option<&'static str>),
Glx(Error, Option<&'static str>),
RandR(Error, Option<&'static str>),
Render(Error, Option<&'static str>),
Shm(Error, Option<&'static str>),
Sync(Error, Option<&'static str>),
Xf86VidMode(Error, Option<&'static str>),
XFixes(Error, Option<&'static str>),
Input(Error, Option<&'static str>),
Xkb(Error, Option<&'static str>),
XPrint(Error, Option<&'static str>),
Xv(Error, Option<&'static str>),
}
Expand description
A protocol error issued from the X server
The second member is the name of the request that emitted the error (if any).
Variants§
X(Error, Option<&'static str>)
The error is from the core X protocol.
Damage(Error, Option<&'static str>)
The error is issued from the DAMAGE
extension.
Glx(Error, Option<&'static str>)
The error is issued from the GLX
extension.
RandR(Error, Option<&'static str>)
The error is issued from the RANDR
extension.
Render(Error, Option<&'static str>)
The error is issued from the RENDER
extension.
Shm(Error, Option<&'static str>)
The error is issued from the MIT-SHM
extension.
Sync(Error, Option<&'static str>)
The error is issued from the SYNC
extension.
Xf86VidMode(Error, Option<&'static str>)
The error is issued from the XFree86-VidModeExtension
extension.
XFixes(Error, Option<&'static str>)
The error is issued from the XFIXES
extension.
Input(Error, Option<&'static str>)
The error is issued from the XInputExtension
extension.
Xkb(Error, Option<&'static str>)
The error is issued from the XKEYBOARD
extension.
XPrint(Error, Option<&'static str>)
The error is issued from the XpExtension
extension.
Xv(Error, Option<&'static str>)
The error is issued from the XVideo
extension.
Trait Implementations§
source§impl Debug for ProtocolError
impl Debug for ProtocolError
source§impl Display for ProtocolError
impl Display for ProtocolError
source§impl Error for ProtocolError
impl Error for ProtocolError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ProtocolError> for Error
impl From<ProtocolError> for Error
source§fn from(err: ProtocolError) -> Error
fn from(err: ProtocolError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProtocolError
impl RefUnwindSafe for ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl UnwindSafe for ProtocolError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more