pub enum IncorrectKindCause {
Error,
Missing,
OtherKind(&'static str),
}Expand description
Underlying cause of why the node is the wrong kind
Variants§
Error
Node is an error node
Missing
Node is a missing node
OtherKind(&'static str)
Node is valid but simply of a different kind (bad node-types.json? Different language? Broken user invariant?)
Auto Trait Implementations§
impl Freeze for IncorrectKindCause
impl RefUnwindSafe for IncorrectKindCause
impl Send for IncorrectKindCause
impl Sync for IncorrectKindCause
impl Unpin for IncorrectKindCause
impl UnwindSafe for IncorrectKindCause
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