pub struct NoteSearchRouteSnapshot {
pub ann_route_total: u64,
pub fallback_route_total: u64,
pub fallback_no_model_total: u64,
pub fallback_no_provider_total: u64,
pub fallback_no_eligible_graph_total: u64,
}Expand description
Note-search routes selected for this opened pool, shared by all its handles.
Values reset only when the pool is reconstructed. A fallback counts the selected route even if the exact search then fails. Embedding and provider errors before a route is selected do not count. Concurrent reads are relaxed snapshots; the fallback total is the saturating sum of the captured causes.
Fields§
§ann_route_total: u64ANN provider successes, including empty candidate results.
fallback_route_total: u64Exact routes selected, the saturating sum of the captured causes.
fallback_no_model_total: u64Exact routes selected without a default embedding model.
fallback_no_provider_total: u64Exact routes selected without a provider for this backend.
fallback_no_eligible_graph_total: u64Exact routes selected after the provider returned no eligible graph.
Trait Implementations§
Source§impl Clone for NoteSearchRouteSnapshot
impl Clone for NoteSearchRouteSnapshot
impl Copy for NoteSearchRouteSnapshot
Source§impl Debug for NoteSearchRouteSnapshot
impl Debug for NoteSearchRouteSnapshot
Source§impl Default for NoteSearchRouteSnapshot
impl Default for NoteSearchRouteSnapshot
impl Eq for NoteSearchRouteSnapshot
Source§impl PartialEq for NoteSearchRouteSnapshot
impl PartialEq for NoteSearchRouteSnapshot
Source§impl Serialize for NoteSearchRouteSnapshot
impl Serialize for NoteSearchRouteSnapshot
impl StructuralPartialEq for NoteSearchRouteSnapshot
Auto Trait Implementations§
impl Forget for NoteSearchRouteSnapshot
impl Freeze for NoteSearchRouteSnapshot
impl RefUnwindSafe for NoteSearchRouteSnapshot
impl Send for NoteSearchRouteSnapshot
impl Sync for NoteSearchRouteSnapshot
impl Unpin for NoteSearchRouteSnapshot
impl UnsafeUnpin for NoteSearchRouteSnapshot
impl UnwindSafe for NoteSearchRouteSnapshot
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