pub struct WalPinAttribution {Show 14 fields
pub available: bool,
pub unavailable_reason: Option<String>,
pub census_holder_pids: Vec<u32>,
pub census_uninspectable_pids: Vec<u32>,
pub census_truncated: bool,
pub census_is_complete: bool,
pub reporting: Vec<WalPinHolder>,
pub registered_silent_pids: Vec<u32>,
pub unknown_pids: Vec<u32>,
pub census_pids_without_attribution: Vec<u32>,
pub fully_attributed: bool,
pub sidecar_entries: Vec<Value>,
pub sidecar_listing_truncated: bool,
pub sidecar_entries_cleanup_would_reap: usize,
}Expand description
WAL-pin attribution: who currently holds the database open, and how complete that answer is.
Field names and shape mirror the reference diagnostics surface this was
ported from, so external consumers parsing this payload keep working.
This tree’s khive-db lacks a read-only sidecar enumeration primitive
(see the module docs), so the sidecar-derived fields below are always
empty here; available/unavailable_reason say so explicitly rather
than silently reporting an incomplete answer as complete.
Fields§
§available: boolfalse plus an unavailable_reason whenever the OS census failed,
or when only a partial (census-only) answer is available.
census_holder_pids: Vec<u32>OS-derived census of every PID holding the DB file open.
census_uninspectable_pids: Vec<u32>§census_truncated: bool§census_is_complete: bool§reporting: Vec<WalPinHolder>Always empty in this port — see the module docs.
registered_silent_pids: Vec<u32>Always empty in this port — see the module docs.
unknown_pids: Vec<u32>Always empty in this port — see the module docs.
census_pids_without_attribution: Vec<u32>Always empty in this port — see the module docs.
fully_attributed: boolAlways false in this port: sidecar reconciliation never ran, so
completeness can never be claimed.
sidecar_entries: Vec<Value>Always empty in this port — see the module docs.
sidecar_listing_truncated: bool§sidecar_entries_cleanup_would_reap: usizeTrait Implementations§
Source§impl Clone for WalPinAttribution
impl Clone for WalPinAttribution
Source§fn clone(&self) -> WalPinAttribution
fn clone(&self) -> WalPinAttribution
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WalPinAttribution
impl Debug for WalPinAttribution
Source§impl PartialEq for WalPinAttribution
impl PartialEq for WalPinAttribution
Source§impl Serialize for WalPinAttribution
impl Serialize for WalPinAttribution
impl StructuralPartialEq for WalPinAttribution
Auto Trait Implementations§
impl Freeze for WalPinAttribution
impl RefUnwindSafe for WalPinAttribution
impl Send for WalPinAttribution
impl Sync for WalPinAttribution
impl Unpin for WalPinAttribution
impl UnsafeUnpin for WalPinAttribution
impl UnwindSafe for WalPinAttribution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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