Enum x11rb::connection::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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)