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§
Auto Trait Implementations§
impl Freeze for NameValueError
impl RefUnwindSafe for NameValueError
impl !Send for NameValueError
impl !Sync for NameValueError
impl Unpin for NameValueError
impl UnwindSafe for NameValueError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more