Enum x11rb::connection::ReplyOrError
source · pub enum ReplyOrError<R, E = R>{
Reply(R),
Error(E),
}
Expand description
Either a raw reply or a raw error response to an X11 request.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<R, E> Freeze for ReplyOrError<R, E>
impl<R, E> RefUnwindSafe for ReplyOrError<R, E>where
R: RefUnwindSafe,
E: RefUnwindSafe,
impl<R, E> Send for ReplyOrError<R, E>
impl<R, E> Sync for ReplyOrError<R, E>
impl<R, E> Unpin for ReplyOrError<R, E>
impl<R, E> UnwindSafe for ReplyOrError<R, E>where
R: UnwindSafe,
E: UnwindSafe,
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