#[non_exhaustive]pub enum RawNodeReason {
WrongTag,
OptionPresent,
ChildrenShape,
PayloadPresent,
AttributeSet,
AttributeValueShape,
}Expand description
Coarse structural reason for an unexpected Raw node.
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.
Trait Implementations§
Source§impl Clone for RawNodeReason
impl Clone for RawNodeReason
Source§fn clone(&self) -> RawNodeReason
fn clone(&self) -> RawNodeReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawNodeReason
impl Debug for RawNodeReason
impl Eq for RawNodeReason
Source§impl PartialEq for RawNodeReason
impl PartialEq for RawNodeReason
impl StructuralPartialEq for RawNodeReason
Auto Trait Implementations§
impl Freeze for RawNodeReason
impl RefUnwindSafe for RawNodeReason
impl Send for RawNodeReason
impl Sync for RawNodeReason
impl Unpin for RawNodeReason
impl UnsafeUnpin for RawNodeReason
impl UnwindSafe for RawNodeReason
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