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 Forget for SweepBackend
impl Freeze for SweepBackendwhere
*const ArcInner<ConnectionPool> is !null: Freeze,
PhantomData<ArcInner<ConnectionPool>>: Freeze,
impl Move for SweepBackend
impl Send for SweepBackend
impl Sync for SweepBackend
impl Unpin for SweepBackend
impl UnsafeUnpin for SweepBackendwhere
*const ArcInner<ConnectionPool> is !null: UnsafeUnpin,
PhantomData<ArcInner<ConnectionPool>>: UnsafeUnpin,
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