pub struct FlowCtx<'a> {
pub span: &'a mut Span,
pub log: &'a mut dyn FlowLogSink,
pub cancel: &'a CancellationToken,
pub verbosity: FlowLogVerbosity,
pub trajectory: TrajectoryBuilder,
}Fields§
§span: &'a mut Span§log: &'a mut dyn FlowLogSink§cancel: &'a CancellationToken§verbosity: FlowLogVerbosityVerbosity selected when this connection was accepted. The listener
reads engine::VerbosityState once at FlowCtx construction;
in-flight connections retain the value they were built with.
trajectory: TrajectoryBuilderWalker-internal step accumulator. The executor pushes one entry
per node-visit and emits a single FlowLogKind::Trajectory event
from finalize() at terminate or error.
Auto Trait Implementations§
impl<'a> Freeze for FlowCtx<'a>
impl<'a> !RefUnwindSafe for FlowCtx<'a>
impl<'a> Send for FlowCtx<'a>
impl<'a> Sync for FlowCtx<'a>
impl<'a> Unpin for FlowCtx<'a>
impl<'a> UnsafeUnpin for FlowCtx<'a>
impl<'a> !UnwindSafe for FlowCtx<'a>
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