Trait glib::error::ErrorDomain
source · pub trait ErrorDomain: Copy {
// Required methods
fn domain() -> Quark;
fn code(self) -> i32;
fn from(code: i32) -> Option<Self>
where Self: Sized;
}
Expand description
GLib
error domain.
This trait is implemented by error enums that represent error domains (types).
Required Methods§
Object Safety§
This trait is not object safe.