[][src]Enum gtk::BuilderError

#[non_exhaustive]pub enum BuilderError {
    InvalidTypeFunction,
    UnhandledTag,
    MissingAttribute,
    InvalidAttribute,
    InvalidTag,
    MissingPropertyValue,
    InvalidValue,
    VersionMismatch,
    DuplicateId,
    ObjectTypeRefused,
    TemplateMismatch,
    InvalidProperty,
    InvalidSignal,
    InvalidId,
    // some variants omitted
}

Error codes that identify various errors that can occur while using Builder.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidTypeFunction

A type-func attribute didn’t name a function that returns a glib::Type.

UnhandledTag

The input contained a tag that Builder can’t handle.

MissingAttribute

An attribute that is required by Builder was missing.

InvalidAttribute

Builder found an attribute that it doesn’t understand.

InvalidTag

Builder found a tag that it doesn’t understand.

MissingPropertyValue

A required property value was missing.

InvalidValue

Builder couldn’t parse some attribute value.

VersionMismatch

The input file requires a newer version of GTK+.

DuplicateId

An object id occurred twice.

ObjectTypeRefused

A specified object type is of the same type or derived from the type of the composite class being extended with builder XML.

TemplateMismatch

The wrong type was specified in a composite class’s template XML

InvalidProperty

The specified property is unknown for the object class.

InvalidSignal

The specified signal is unknown for the object class.

InvalidId

An object id is unknown

Trait Implementations

impl Clone for BuilderError[src]

impl Copy for BuilderError[src]

impl Debug for BuilderError[src]

impl Display for BuilderError[src]

impl Eq for BuilderError[src]

impl ErrorDomain for BuilderError[src]

impl<'a> FromValue<'a> for BuilderError[src]

impl<'a> FromValueOptional<'a> for BuilderError[src]

impl Hash for BuilderError[src]

impl Ord for BuilderError[src]

impl PartialEq<BuilderError> for BuilderError[src]

impl PartialOrd<BuilderError> for BuilderError[src]

impl SetValue for BuilderError[src]

impl StaticType for BuilderError[src]

impl StructuralEq for BuilderError[src]

impl StructuralPartialEq for BuilderError[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.