Enum x11rb_protocol::protocol::RequestInfo
source · enum RequestInfo {
Xproto(&'static str),
KnownExt(&'static str),
UnknownRequest(Option<&'static str>, u8),
UnknownExtension(u8, u8),
}
Expand description
Helper container for translating numeric request information to a string
Variants§
Xproto(&'static str)
A core protocol request
KnownExt(&'static str)
A known request from a known extension. String is of the form “ExtName::RequestName”.
UnknownRequest(Option<&'static str>, u8)
A request which could not be identified. The first entry is the extension name (or none for xproto). Second is opcode.
UnknownExtension(u8, u8)
A request from an extension that could not be identified
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RequestInfo
impl RefUnwindSafe for RequestInfo
impl Send for RequestInfo
impl Sync for RequestInfo
impl Unpin for RequestInfo
impl UnwindSafe for RequestInfo
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