Enum wayland_client::protocol::wl_display::Event[][src]

pub enum Event {
    Error {
        object_id: Proxy<AnonymousObject>,
        code: u32,
        message: String,
    },
    DeleteId {
        id: u32,
    },
}

Variants

fatal error event

The error event is sent out when a fatal (non-recoverable) error has occurred. The object_id argument is the object where the error occurred, most often in response to a request to that object. The code identifies the error and is defined by the object interface. As such, each interface defines its own set of error codes. The message is a brief description of the error, for (debugging) convenience.

Fields of Error

acknowledge object ID deletion

This event is used internally by the object ID management logic. When a client deletes an object, the server will send this event to acknowledge that it has seen the delete request. When the client receives this event, it will know that it can safely reuse the object ID.

Fields of DeleteId

Trait Implementations

impl MessageGroup for Event
[src]

Whether this message is a destructor Read more

Construct a message of this group from its C representation

Build a C representation of this message Read more

Auto Trait Implementations

impl Send for Event

impl Sync for Event