pub struct NoopSummaryBackend;Expand description
Fail-closed default backend.
Every CLI surface that wires the decay runner today injects this so
an LLM-summary job surfaces a typed BackendNotConfigured refusal
rather than panicking. Pattern mirrors NoopCalendarClient in the
OTS external sink.
Trait Implementations§
Source§impl Clone for NoopSummaryBackend
impl Clone for NoopSummaryBackend
Source§fn clone(&self) -> NoopSummaryBackend
fn clone(&self) -> NoopSummaryBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoopSummaryBackend
impl Debug for NoopSummaryBackend
Source§impl Default for NoopSummaryBackend
impl Default for NoopSummaryBackend
Source§fn default() -> NoopSummaryBackend
fn default() -> NoopSummaryBackend
Returns the “default value” for a type. Read more
Source§impl SummaryBackend for NoopSummaryBackend
impl SummaryBackend for NoopSummaryBackend
Source§fn summarize(
&self,
_request: &SummaryRequest,
) -> Result<SummaryResponse, SummaryError>
fn summarize( &self, _request: &SummaryRequest, ) -> Result<SummaryResponse, SummaryError>
Issue a summary call. The implementation owns its own timeout
budget and MUST surface timeouts as
SummaryError::CallFailed.impl Copy for NoopSummaryBackend
Auto Trait Implementations§
impl Freeze for NoopSummaryBackend
impl RefUnwindSafe for NoopSummaryBackend
impl Send for NoopSummaryBackend
impl Sync for NoopSummaryBackend
impl Unpin for NoopSummaryBackend
impl UnsafeUnpin for NoopSummaryBackend
impl UnwindSafe for NoopSummaryBackend
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