pub enum CompatibilityError {
IncompatibleElement {
element: Element,
version_mask: u32,
},
IncompatibleAttribute {
element: Element,
attribute: AttributeName,
version_mask: u32,
},
IncompatibleAttributeValue {
element: Element,
attribute: AttributeName,
attribute_value: String,
version_mask: u32,
},
}Expand description
Possible kinds of compatibility errors that can be found by ArxmlFile::check_version_compatibility()
Variants§
IncompatibleElement
The element is not allowed in the target version
Fields
IncompatibleAttribute
The attribute is not allowed in the target version
Fields
§
attribute: AttributeNameThe incompatible attribute
IncompatibleAttributeValue
The attribute value is not allowed in the target version
Fields
§
attribute: AttributeNameThe incompatible attribute
Auto Trait Implementations§
impl Freeze for CompatibilityError
impl !RefUnwindSafe for CompatibilityError
impl Send for CompatibilityError
impl Sync for CompatibilityError
impl Unpin for CompatibilityError
impl !UnwindSafe for CompatibilityError
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