Trait runa_core::error::ProtocolError
source · pub trait ProtocolError: Error + Send + Sync + 'static {
// Required methods
fn wayland_error(&self) -> Option<(u32, u32)>;
fn fatal(&self) -> bool;
}
Expand description
Converting Rust errors to Wayland error events
Required Methods§
sourcefn wayland_error(&self) -> Option<(u32, u32)>
fn wayland_error(&self) -> Option<(u32, u32)>
Returns an object id and a wayland error code associated with this error, in that order. If not None, an error event will be sent to the client.