Enum x11rb_protocol::DiscardMode
source · pub enum DiscardMode {
DiscardReply,
DiscardReplyAndError,
}
Expand description
Variants describing which responses to a request should be discarded.
Variants§
DiscardReply
Only discard the actual reply. Errors go to the main loop.
DiscardReplyAndError
Ignore any kind of response that this request generates.
Trait Implementations§
source§impl Clone for DiscardMode
impl Clone for DiscardMode
source§fn clone(&self) -> DiscardMode
fn clone(&self) -> DiscardMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DiscardMode
impl Debug for DiscardMode
source§impl PartialEq for DiscardMode
impl PartialEq for DiscardMode
source§fn eq(&self, other: &DiscardMode) -> bool
fn eq(&self, other: &DiscardMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DiscardMode
impl Eq for DiscardMode
impl StructuralPartialEq for DiscardMode
Auto Trait Implementations§
impl Freeze for DiscardMode
impl RefUnwindSafe for DiscardMode
impl Send for DiscardMode
impl Sync for DiscardMode
impl Unpin for DiscardMode
impl UnwindSafe for DiscardMode
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