Struct x11rb_protocol::protocol::xproto::AllowEventsRequest
source · [−]Expand description
release queued events.
Releases queued events if the client has caused a device (pointer/keyboard) to
freeze due to grabbing it actively. This request has no effect if time
is
earlier than the last-grab time of the most recent active grab for this client
or if time
is later than the current X server time.
Fields
mode
-time
- Timestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME
will be replaced with the current server
time.
Errors
Value
- You specified an invalidmode
.
Fields
mode: Allow
time: Timestamp
Implementations
sourceimpl AllowEventsRequest
impl AllowEventsRequest
sourcepub fn serialize(self) -> BufWithFds<PiecewiseBuf<'static>>
pub fn serialize(self) -> BufWithFds<PiecewiseBuf<'static>>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations
sourceimpl Clone for AllowEventsRequest
impl Clone for AllowEventsRequest
sourcefn clone(&self) -> AllowEventsRequest
fn clone(&self) -> AllowEventsRequest
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 AllowEventsRequest
impl Debug for AllowEventsRequest
sourceimpl Default for AllowEventsRequest
impl Default for AllowEventsRequest
sourcefn default() -> AllowEventsRequest
fn default() -> AllowEventsRequest
Returns the “default value” for a type. Read more
sourceimpl Hash for AllowEventsRequest
impl Hash for AllowEventsRequest
sourceimpl Ord for AllowEventsRequest
impl Ord for AllowEventsRequest
sourceimpl PartialEq<AllowEventsRequest> for AllowEventsRequest
impl PartialEq<AllowEventsRequest> for AllowEventsRequest
sourcefn eq(&self, other: &AllowEventsRequest) -> bool
fn eq(&self, other: &AllowEventsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AllowEventsRequest) -> bool
fn ne(&self, other: &AllowEventsRequest) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AllowEventsRequest> for AllowEventsRequest
impl PartialOrd<AllowEventsRequest> for AllowEventsRequest
sourcefn partial_cmp(&self, other: &AllowEventsRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &AllowEventsRequest) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Request for AllowEventsRequest
impl Request for AllowEventsRequest
impl Copy for AllowEventsRequest
impl Eq for AllowEventsRequest
impl StructuralEq for AllowEventsRequest
impl StructuralPartialEq for AllowEventsRequest
impl VoidRequest for AllowEventsRequest
Auto Trait Implementations
impl RefUnwindSafe for AllowEventsRequest
impl Send for AllowEventsRequest
impl Sync for AllowEventsRequest
impl Unpin for AllowEventsRequest
impl UnwindSafe for AllowEventsRequest
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