[−][src]Function x11rb::protocol::xproto::kill_client
pub fn kill_client<Conn: ?Sized, A>(
conn: &Conn,
resource: A
) -> Result<VoidCookie<Conn>, ConnectionError> where
Conn: RequestConnection,
A: Into<u32>,
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