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
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