Struct x11rb::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 specifiedresource
does not exist.
§See
xkill
: program
Fields§
§resource: u32
Implementations§
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 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
)