Enum wayland_server::Liveness [] [src]

pub enum Liveness {
    Alive,
    Dead,
    Unmanaged,
}

Represents the state of liveness of a wayland object

Variants

This object is alive and events can be sent to it

This object is dead, sending it events will do nothing and return and error.

This object is not managed by wayland-server, you can send it events but this might crash the program if it was actually dead.

Trait Implementations

impl Copy for Liveness
[src]

impl Clone for Liveness
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Liveness
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Liveness
[src]