Struct x11rb_async::protocol::xproto::KillClientRequest
source · pub struct KillClientRequest {
pub resource: u32,
}Expand description
kills a client.
Forces a close down of the client that created the specified resource.
Fields
resource- Any resource belonging to the client (for example a Window), used to identify the client connection.
The special value of XCB_KILL_ALL_TEMPORARY, the resources of all clients
that have terminated in RetainTemporary (TODO) are destroyed.
Errors
Value- The specifiedresourcedoes not exist.
See
xkill: program
Fields§
§resource: u32Implementations§
Trait Implementations§
source§impl Clone for KillClientRequest
impl Clone for KillClientRequest
source§fn clone(&self) -> KillClientRequest
fn clone(&self) -> KillClientRequest
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 KillClientRequest
impl Debug for KillClientRequest
source§impl Default for KillClientRequest
impl Default for KillClientRequest
source§fn default() -> KillClientRequest
fn default() -> KillClientRequest
Returns the “default value” for a type. Read more
source§impl Hash for KillClientRequest
impl Hash for KillClientRequest
source§impl Ord for KillClientRequest
impl Ord for KillClientRequest
source§fn cmp(&self, other: &KillClientRequest) -> Ordering
fn cmp(&self, other: &KillClientRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for KillClientRequest
impl PartialEq for KillClientRequest
source§fn eq(&self, other: &KillClientRequest) -> bool
fn eq(&self, other: &KillClientRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for KillClientRequest
impl PartialOrd for KillClientRequest
source§fn partial_cmp(&self, other: &KillClientRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &KillClientRequest) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Request for KillClientRequest
impl Request for KillClientRequest
impl Copy for KillClientRequest
impl Eq for KillClientRequest
impl StructuralEq for KillClientRequest
impl StructuralPartialEq for KillClientRequest
impl VoidRequest for KillClientRequest
Auto Trait Implementations§
impl RefUnwindSafe for KillClientRequest
impl Send for KillClientRequest
impl Sync for KillClientRequest
impl Unpin for KillClientRequest
impl UnwindSafe for KillClientRequest
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