pub struct NoTraceBackend;Expand description
Stub backend that always fails — triggers template fallback in callers.
Trait Implementations§
Source§impl TraceInsightsBackend for NoTraceBackend
impl TraceInsightsBackend for NoTraceBackend
fn summarize_change( &self, _path: &str, _doc_type: &str, _diff: &str, ) -> Result<String, String>
fn synthesize_context( &self, _documents: &[TraceDocument], _updates: &[String], ) -> Result<String, String>
fn summarize_session( &self, _session_id: &str, _events: &[String], ) -> Result<String, String>
fn summarize_event_history(&self, _events: &str) -> Result<String, String>
fn update_running_summary( &self, _previous_summary: &str, _new_events: &str, _plan_snippet: &str, ) -> Result<String, String>
Auto Trait Implementations§
impl Freeze for NoTraceBackend
impl RefUnwindSafe for NoTraceBackend
impl Send for NoTraceBackend
impl Sync for NoTraceBackend
impl Unpin for NoTraceBackend
impl UnsafeUnpin for NoTraceBackend
impl UnwindSafe for NoTraceBackend
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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