pub struct ExceptionGraphView<R> {
pub edges: Vec<ExceptionGraphEdge<R>>,
pub truncated: bool,
}Expand description
Terminating graph projection with explicit loss reporting.
Fields§
§edges: Vec<ExceptionGraphEdge<R>>Relations in deterministic parent-discovery and edge-id order.
truncated: boolTrue when at least one relation was omitted by the edge budget.
Implementations§
Source§impl<R: Clone> ExceptionGraphView<R>
impl<R: Clone> ExceptionGraphView<R>
Sourcepub fn project<P>(
arena: &ManagedArena<ManagedException<P, R>>,
root: ManagedHandle,
budget: ExceptionGraphBudget,
) -> Result<Self, ArenaError>
pub fn project<P>( arena: &ManagedArena<ManagedException<P, R>>, root: ManagedHandle, budget: ExceptionGraphBudget, ) -> Result<Self, ArenaError>
Projects reachable relations iteratively, expanding each object once.
Every parent edge remains a row even when multiple parents target the same object. The expanded set only prevents cycles from recurring.
Trait Implementations§
Source§impl<R: Clone> Clone for ExceptionGraphView<R>
impl<R: Clone> Clone for ExceptionGraphView<R>
Source§fn clone(&self) -> ExceptionGraphView<R>
fn clone(&self) -> ExceptionGraphView<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Debug> Debug for ExceptionGraphView<R>
impl<R: Debug> Debug for ExceptionGraphView<R>
impl<R: Eq> Eq for ExceptionGraphView<R>
Source§impl<R: PartialEq> PartialEq for ExceptionGraphView<R>
impl<R: PartialEq> PartialEq for ExceptionGraphView<R>
impl<R: PartialEq> StructuralPartialEq for ExceptionGraphView<R>
Auto Trait Implementations§
impl<R> Freeze for ExceptionGraphView<R>
impl<R> RefUnwindSafe for ExceptionGraphView<R>where
R: RefUnwindSafe,
impl<R> Send for ExceptionGraphView<R>where
R: Send,
impl<R> Sync for ExceptionGraphView<R>where
R: Sync,
impl<R> Unpin for ExceptionGraphView<R>where
R: Unpin,
impl<R> UnsafeUnpin for ExceptionGraphView<R>
impl<R> UnwindSafe for ExceptionGraphView<R>where
R: UnwindSafe,
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