Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/operators/arrange/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,16 @@ where
pub fn operator(&self) -> &OperatorInfo {
&self.operator
}

/// Obtain a reference to the inner [`TraceBox`]. It is the caller's obligation to maintain
/// the trace box and this trace agent's invariants. Specifically, it is undefined behavior
/// to mutate the trace box. Keeping strong references can prevent resource reclamation.
///
/// This method is subject to changes and removal and should not be considered part of a stable
/// interface.
pub fn trace_box_unstable(&self) -> Rc<RefCell<TraceBox<Tr>>> {
Rc::clone(&self.trace)
}
}

impl<Tr> TraceAgent<Tr>
Expand Down