Enum generational_indextree::NodeError
source · [−]#[non_exhaustive]
pub enum NodeError {
AppendSelf,
PrependSelf,
InsertBeforeSelf,
InsertAfterSelf,
Removed,
}
Expand description
Possible node failures.
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.
AppendSelf
Attempt to append a node to itself.
PrependSelf
Attempt to prepend a node to itself.
InsertBeforeSelf
Attempt to insert a node before itself.
InsertAfterSelf
Attempt to insert a node after itself.
Removed
Attempt to insert a removed node, or insert to a removed node.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NodeError
impl UnwindSafe for NodeError
Blanket Implementations
Mutably borrows from an owned value. Read more