pub struct TrajectoryBuilder { /* private fields */ }Expand description
Per-walker accumulator that the executor pushes steps into and
converts to a FlowTrajectory at terminate/error time. Not a
FlowLogSink — the executor explicitly emits one event from the
finalized trajectory.
Implementations§
Source§impl TrajectoryBuilder
impl TrajectoryBuilder
pub fn new(conn: ConnId, entry: NodeId, started_at_ms: u64) -> Self
pub fn push(&mut self, step: TrajectoryStep)
pub fn finalize( self, outcome: TrajectoryOutcome, finished_at_ms: u64, ) -> FlowTrajectory
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrajectoryBuilder
impl RefUnwindSafe for TrajectoryBuilder
impl Send for TrajectoryBuilder
impl Sync for TrajectoryBuilder
impl Unpin for TrajectoryBuilder
impl UnsafeUnpin for TrajectoryBuilder
impl UnwindSafe for TrajectoryBuilder
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