Struct KillClientRequest
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 specifiedresource
does not exist.
§See
xkill
: program
Fields§
§resource: u32
Implementations§
Trait Implementations§
§impl Clone for KillClientRequest
impl Clone for KillClientRequest
§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 more§impl Debug for KillClientRequest
impl Debug for KillClientRequest
§impl Default for KillClientRequest
impl Default for KillClientRequest
§fn default() -> KillClientRequest
fn default() -> KillClientRequest
Returns the “default value” for a type. Read more
§impl Request for KillClientRequest
impl Request for KillClientRequest
impl Copy for KillClientRequest
impl VoidRequest for KillClientRequest
Auto Trait Implementations§
impl Freeze for KillClientRequest
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
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
)