pub struct SweepBackend {
pub pool: Arc<ConnectionPool>,
pub is_main: bool,
}Expand description
One file-backed backend the session sweep observes (ADR-091 Amendment 3
fan-out). is_main selects which khive_storage::tx_registry::TxOriginFilter
variant scopes this backend’s view of the registry: the main backend’s
Main filter additionally observes Unscoped spans (the
never-silently-drop fallback for call sites not yet threaded to an
origin); a secondary backend’s Secondary filter is scoped to exactly
its own identity. A pool whose origin is Memory contributes no entry —
in-memory backends have no sidecar and nothing to attribute
cross-process.
Fields§
§pool: Arc<ConnectionPool>§is_main: boolAuto Trait Implementations§
impl !RefUnwindSafe for SweepBackend
impl !UnwindSafe for SweepBackend
impl Freeze for SweepBackend
impl Send for SweepBackend
impl Sync for SweepBackend
impl Unpin for SweepBackend
impl UnsafeUnpin for SweepBackend
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