Enum mattro::NameValueError[][src]

pub enum NameValueError {
    InvalidValue(MetaItem),
    DuplicatedKey(String),
    InvalidAttribute,
}
Expand description

Represents an error when parsing a name-value attribute.

Variants

InvalidValue(MetaItem)

The name-value contains a not name-value attribute.

DuplicatedKey(String)

The name-value contains a duplicated name key.

InvalidAttribute

The name-value attribute is in an invalid format.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.