Enum wayland_client::RequestResult [] [src]

pub enum RequestResult<T> {
    Sent(T),
    Destroyed,
}

Possible outcome of the call of a request on a proxy

Variants

Message has been buffered and will be sent to server

This proxy is already destroyed, request has been ignored

Methods

impl<T> RequestResult<T>
[src]

Assert that result is successfull and extract the value.

Panics with provided error message if the result was Destroyed.