Enum gtk::BuilderError [−][src]
#[non_exhaustive] pub enum BuilderError {}Show variants
InvalidTypeFunction, UnhandledTag, MissingAttribute, InvalidAttribute, InvalidTag, MissingPropertyValue, InvalidValue, VersionMismatch, DuplicateId, ObjectTypeRefused, TemplateMismatch, InvalidProperty, InvalidSignal, InvalidId, // some variants omitted
Expand description
Error codes that identify various errors that can occur while using
Builder
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
A type-func attribute didn’t name
a function that returns a GType
.
The input contained a tag that Builder
can’t handle.
An attribute that is required by
Builder
was missing.
Builder
found an attribute that
it doesn’t understand.
Builder
found a tag that
it doesn’t understand.
A required property value was missing.
Builder
couldn’t parse
some attribute value.
The input file requires a newer version of GTK+.
An object id occurred twice.
A specified object type is of the same type or derived from the type of the composite class being extended with builder XML.
The wrong type was specified in a composite class’s template XML
The specified property is unknown for the object class.
The specified signal is unknown for the object class.
An object id is unknown
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for BuilderError
impl Send for BuilderError
impl Sync for BuilderError
impl Unpin for BuilderError
impl UnwindSafe for BuilderError
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.