pub struct TraceLashlangGraphStore { /* private fields */ }Expand description
In-memory store that reduces Lashlang execution trace records into graph snapshots.
Implementations§
Source§impl TraceLashlangGraphStore
impl TraceLashlangGraphStore
Sourcepub fn graph(&self, graph_key: &str) -> Option<TraceLashlangGraph>
pub fn graph(&self, graph_key: &str) -> Option<TraceLashlangGraph>
Returns a snapshot for one observed Lashlang graph key.
Sourcepub fn graphs(&self) -> Vec<TraceLashlangGraph>
pub fn graphs(&self) -> Vec<TraceLashlangGraph>
Returns snapshots for all observed executions in stable graph-key order.
Trait Implementations§
Source§impl Default for TraceLashlangGraphStore
impl Default for TraceLashlangGraphStore
Source§fn default() -> TraceLashlangGraphStore
fn default() -> TraceLashlangGraphStore
Returns the “default value” for a type. Read more
Source§impl TraceSink for TraceLashlangGraphStore
impl TraceSink for TraceLashlangGraphStore
fn append(&self, record: &TraceRecord) -> Result<(), TraceSinkError>
Auto Trait Implementations§
impl !Freeze for TraceLashlangGraphStore
impl RefUnwindSafe for TraceLashlangGraphStore
impl Send for TraceLashlangGraphStore
impl Sync for TraceLashlangGraphStore
impl Unpin for TraceLashlangGraphStore
impl UnsafeUnpin for TraceLashlangGraphStore
impl UnwindSafe for TraceLashlangGraphStore
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