pub struct TraceStore { /* private fields */ }Implementations§
Source§impl TraceStore
impl TraceStore
pub fn new(base_dir: &Path) -> Self
pub fn start_run(&mut self, doc_hash: &str) -> String
pub fn end_run(&mut self)
pub fn cell_start(&mut self, cell_name: &str)
pub fn cell_end(&mut self, cell_name: &str)
pub fn call_enter(&mut self, cell_name: &str)
pub fn call_exit(&mut self, cell_name: &str, result_type: &str)
pub fn vm_step(&mut self, cell: &str, ip: usize, opcode: &str)
pub fn tool_call( &mut self, cell: &str, tool_id: &str, tool_version: &str, latency_ms: u64, cached: bool, success: bool, message: Option<&str>, )
pub fn schema_validate(&mut self, cell: &str, schema: &str, valid: bool)
pub fn error(&mut self, cell: Option<&str>, message: &str)
pub fn run_id(&self) -> &str
Auto Trait Implementations§
impl Freeze for TraceStore
impl RefUnwindSafe for TraceStore
impl Send for TraceStore
impl Sync for TraceStore
impl Unpin for TraceStore
impl UnwindSafe for TraceStore
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