pub enum LineageError {
Incomparable,
PartiallyDescends {
meet: Vec<EventId>,
},
BudgetExceeded {
original_budget: usize,
subject_frontier: BTreeSet<EventId>,
other_frontier: BTreeSet<EventId>,
},
}
Variants§
Trait Implementations§
Source§impl Debug for LineageError
impl Debug for LineageError
Source§impl Display for LineageError
impl Display for LineageError
Source§impl Error for LineageError
impl Error for LineageError
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 From<LineageError> for MutationError
impl From<LineageError> for MutationError
Source§fn from(err: LineageError) -> Self
fn from(err: LineageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LineageError
impl RefUnwindSafe for LineageError
impl Send for LineageError
impl Sync for LineageError
impl Unpin for LineageError
impl UnwindSafe for LineageError
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