pub struct JsonlTraceWriter { /* private fields */ }Expand description
JSON Lines trace writer — emits to stderr or a file.
Implementations§
Trait Implementations§
Source§impl TraceSink for JsonlTraceWriter
impl TraceSink for JsonlTraceWriter
fn emit_runtime_info( &mut self, runtime_version: &str, wasmtime_version: &str, timestamp: &str, )
fn emit_invoke( &mut self, trace_id: &str, session_id: &str, step: u64, graph_id: &str, graph_version: &str, brick_id: &str, brick_version: &str, bundle_digest: &str, node_id: &str, envelope_bytes: &[u8], trigger_source_node_id: &str, trigger_source_step: u64, trigger_edge_id: &str, trigger_routing_reason: &str, result: &BrickResult, result_bytes: Option<&[u8]>, latency_ms: f64, timestamp: &str, )
Auto Trait Implementations§
impl Freeze for JsonlTraceWriter
impl !RefUnwindSafe for JsonlTraceWriter
impl Send for JsonlTraceWriter
impl !Sync for JsonlTraceWriter
impl Unpin for JsonlTraceWriter
impl UnsafeUnpin for JsonlTraceWriter
impl !UnwindSafe for JsonlTraceWriter
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more