Enum x11rb::errors::ReplyOrIdError
source · pub enum ReplyOrIdError {
IdsExhausted,
ConnectionError(ConnectionError),
X11Error(X11Error),
}
Expand description
An error caused by some request or by the exhaustion of IDs.
Variants§
IdsExhausted
All available IDs have been exhausted.
ConnectionError(ConnectionError)
Some error occurred on the X11 connection.
X11Error(X11Error)
The X11 server sent an error in response to a request.
Trait Implementations§
source§impl Debug for ReplyOrIdError
impl Debug for ReplyOrIdError
source§impl Display for ReplyOrIdError
impl Display for ReplyOrIdError
source§impl Error for ReplyOrIdError
impl Error for ReplyOrIdError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ConnectionError> for ReplyOrIdError
impl From<ConnectionError> for ReplyOrIdError
source§fn from(err: ConnectionError) -> Self
fn from(err: ConnectionError) -> Self
Converts to this type from the input type.
source§impl From<IdsExhausted> for ReplyOrIdError
impl From<IdsExhausted> for ReplyOrIdError
source§fn from(_: IdsExhausted) -> Self
fn from(_: IdsExhausted) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for ReplyOrIdError
impl From<ParseError> for ReplyOrIdError
source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ReplyError> for ReplyOrIdError
impl From<ReplyError> for ReplyOrIdError
source§fn from(err: ReplyError) -> Self
fn from(err: ReplyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReplyOrIdError
impl !RefUnwindSafe for ReplyOrIdError
impl Send for ReplyOrIdError
impl Sync for ReplyOrIdError
impl Unpin for ReplyOrIdError
impl !UnwindSafe for ReplyOrIdError
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