#[non_exhaustive]pub enum TreeWarning {
UnresolvedKey {
key: String,
at: NodePath,
},
DuplicateKey {
key: String,
at: NodePath,
},
OwnsCycle {
at: NodePath,
},
InvalidLevel {
at: NodePath,
},
InvalidTestId {
at: NodePath,
id: String,
},
UnknownRole {
at: NodePath,
},
}Expand description
Something worth knowing about how a tree was built. Audits report these.
Variants (Non-exhaustive)§
This enum is marked as 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.
UnresolvedKey
A relation named a key no node has; the relation was dropped.
DuplicateKey
Two nodes declared the same key; the first keeps it.
OwnsCycle
An owns edge would make a cycle, or the target already had an owner; it was dropped.
InvalidLevel
An annotation’s level was 0; ARIA levels start at 1.
InvalidTestId
A test id has characters outside [a-z0-9._-].
UnknownRole
An annotation carried a role name this version does not know.
Trait Implementations§
Source§impl Clone for TreeWarning
impl Clone for TreeWarning
Source§impl Debug for TreeWarning
impl Debug for TreeWarning
Source§impl<'de> Deserialize<'de> for TreeWarning
impl<'de> Deserialize<'de> for TreeWarning
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TreeWarning
Source§impl PartialEq for TreeWarning
impl PartialEq for TreeWarning
Source§impl Serialize for TreeWarning
impl Serialize for TreeWarning
impl StructuralPartialEq for TreeWarning
Auto Trait Implementations§
impl Forget for TreeWarning
impl Freeze for TreeWarning
impl Move for TreeWarning
impl RefUnwindSafe for TreeWarning
impl Send for TreeWarningwhere
RawVecInner: Send,
impl Sync for TreeWarningwhere
RawVecInner: Sync,
impl Unpin for TreeWarning
impl UnsafeUnpin for TreeWarningwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Segment>: UnsafeUnpin,
impl UnwindSafe for TreeWarningwhere
RawVecInner: UnwindSafe,
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