Enum autosar_data::CompatibilityError
source · [−]pub enum CompatibilityError {
IncompatibleElement {
element: Element,
version_mask: u32,
},
IncompatibleAttribute {
element: Element,
attribute: AttributeName,
version_mask: u32,
},
IncompatibleAttributeValue {
element: Element,
attribute: AttributeName,
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
IncompatibleAttribute
The attribute is not allowed in the target version
IncompatibleAttributeValue
The attribute value is not allowed in the target version
Auto Trait Implementations
impl !RefUnwindSafe for CompatibilityError
impl Send for CompatibilityError
impl Sync for CompatibilityError
impl Unpin for CompatibilityError
impl !UnwindSafe for CompatibilityError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more