pub enum DecoratorIndexError {
NodeIndex(MastNodeId),
OperationIndex {
node: MastNodeId,
operation: usize,
},
InternalStructure,
}Expand description
Error type for decorator index mapping operations
Variants§
NodeIndex(MastNodeId)
Node index out of bounds
OperationIndex
Operation index out of bounds for the given node
InternalStructure
Invalid internal data structure (corrupted pointers)
Trait Implementations§
Source§impl Debug for DecoratorIndexError
impl Debug for DecoratorIndexError
Source§impl Display for DecoratorIndexError
impl Display for DecoratorIndexError
Source§impl Error for DecoratorIndexError
impl Error for DecoratorIndexError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for DecoratorIndexError
impl PartialEq for DecoratorIndexError
impl Eq for DecoratorIndexError
impl StructuralPartialEq for DecoratorIndexError
Auto Trait Implementations§
impl Freeze for DecoratorIndexError
impl RefUnwindSafe for DecoratorIndexError
impl Send for DecoratorIndexError
impl Sync for DecoratorIndexError
impl Unpin for DecoratorIndexError
impl UnwindSafe for DecoratorIndexError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more