pub struct BoundedDatabaseStructuralStats {
pub database_pages: u32,
pub structural_pages_visited: u64,
pub ownership_spool_bytes: u64,
pub ownership_scan_window_bytes: usize,
pub maximum_record_bytes: usize,
}Expand description
Proof counters from a bounded whole-image structural validation.
Every field is evidence that the proof ran within fixed resident memory:
ownership_spool_bytes is exactly one byte per database page and
ownership_scan_window_bytes is the fixed window used to scan that spool,
neither of which grows with database size.
Fields§
§database_pages: u32Database pages declared by the validated main-file image.
structural_pages_visited: u64B-tree, overflow, freelist, and pointer-map pages claimed by the walk.
ownership_spool_bytes: u64Anonymous on-disk ownership bytes (exactly one byte per database page).
ownership_scan_window_bytes: usizeFixed resident window used to scan the ownership spool for orphans.
maximum_record_bytes: usizeHard maximum record payload accepted by this bounded validator.
Trait Implementations§
Source§impl Clone for BoundedDatabaseStructuralStats
impl Clone for BoundedDatabaseStructuralStats
Source§fn clone(&self) -> BoundedDatabaseStructuralStats
fn clone(&self) -> BoundedDatabaseStructuralStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoundedDatabaseStructuralStats
Source§impl Default for BoundedDatabaseStructuralStats
impl Default for BoundedDatabaseStructuralStats
Source§fn default() -> BoundedDatabaseStructuralStats
fn default() -> BoundedDatabaseStructuralStats
Returns the “default value” for a type. Read more
impl Eq for BoundedDatabaseStructuralStats
impl StructuralPartialEq for BoundedDatabaseStructuralStats
Auto Trait Implementations§
impl Freeze for BoundedDatabaseStructuralStats
impl RefUnwindSafe for BoundedDatabaseStructuralStats
impl Send for BoundedDatabaseStructuralStats
impl Sync for BoundedDatabaseStructuralStats
impl Unpin for BoundedDatabaseStructuralStats
impl UnsafeUnpin for BoundedDatabaseStructuralStats
impl UnwindSafe for BoundedDatabaseStructuralStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).