Enum wayland_client::FatalError
[−]
[src]
pub enum FatalError { Io(Error), Protocol { interface: String, proxy_id: u32, error_code: u32, }, }
Enum representing possible errors fatal to a wayland session
These errors are fatal, so there is no way to recover the session, you must create a new one (or report failure to your user). But recovering this error can provide usefull debug information and/or help provide a sensible error message to the user.
Variants
Io(Error)
Session aborted after an I/O error
Protocol
Session aborted after a protocol error
Fields of Protocol
interface: String | name of the interface of the proxy that generated this error |
proxy_id: u32 | internal id of the proxy that generated this error |
error_code: u32 | code of the error, as defined by the |