pub enum MastForestError {
TooManyDecorators,
TooManyNodes,
NodeIdOverflow(MastNodeId, usize),
DecoratorIdOverflow(DecoratorId, usize),
EmptyBasicBlock,
ChildFingerprintMissing(MastNodeId),
AdviceMapKeyCollisionOnMerge(Word),
}
Expand description
Represents the types of errors that can occur when dealing with MAST forest.
Variants§
TooManyDecorators
TooManyNodes
NodeIdOverflow(MastNodeId, usize)
DecoratorIdOverflow(DecoratorId, usize)
EmptyBasicBlock
ChildFingerprintMissing(MastNodeId)
AdviceMapKeyCollisionOnMerge(Word)
Trait Implementations§
Source§impl Debug for MastForestError
impl Debug for MastForestError
Source§impl Display for MastForestError
impl Display for MastForestError
Source§impl Error for MastForestError
impl Error for MastForestError
1.30.0 · Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for MastForestError
impl PartialEq for MastForestError
impl StructuralPartialEq for MastForestError
Auto Trait Implementations§
impl Freeze for MastForestError
impl RefUnwindSafe for MastForestError
impl Send for MastForestError
impl Sync for MastForestError
impl Unpin for MastForestError
impl UnwindSafe for MastForestError
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