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
sourceimpl Clone for DiscardMode
impl Clone for DiscardMode
sourcefn clone(&self) -> DiscardMode
fn clone(&self) -> DiscardMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DiscardMode
impl Debug for DiscardMode
sourceimpl PartialEq<DiscardMode> for DiscardMode
impl PartialEq<DiscardMode> for DiscardMode
impl Copy for DiscardMode
impl Eq for DiscardMode
impl StructuralEq for DiscardMode
impl StructuralPartialEq for DiscardMode
Auto Trait Implementations
impl RefUnwindSafe for DiscardMode
impl Send for DiscardMode
impl Sync for DiscardMode
impl Unpin for DiscardMode
impl UnwindSafe for DiscardMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more