pub struct CacheInputs {
pub prefix_snapshot_slots: u64,
pub ring: (u64, u64),
pub carry: (u64, u64),
pub verify_table_rows: u64,
pub capture_rows: u64,
pub lookup: Option<LookupInputs>,
pub tree: Option<(u64, u64)>,
pub drafts: Option<(u64, u64)>,
}Expand description
2026-10-02: How many units each cache kind holds; None or 0 for a cache the serve does not
keep.
Fields§
§prefix_snapshot_slots: u642026-10-02: Prefix-cache (Marconi) snapshot slots.
ring: (u64, u64)2026-10-02: Decode-rollback ring slots per sequence slot, and the sequence slots.
carry: (u64, u64)2026-10-02: Carried-state verify slots (the dummy included) and carry-table rows; 0 without the carried-state verify.
verify_table_rows: u642026-10-02: Verify-table rows (the WY tables, the accepted-hidden stash); 0 without a proposer.
capture_rows: u642026-10-02: Hidden rows captured for the draft head.
lookup: Option<LookupInputs>2026-10-02: The prompt-lookup index; None without prompt-lookup decoding.
tree: Option<(u64, u64)>2026-10-02: Token-tree verify slots and nodes per tree; None without a token tree.
drafts: Option<(u64, u64)>2026-10-02: Verify slots and draft positions per slot whose drafted tokens are kept.
Trait Implementations§
Source§impl Clone for CacheInputs
impl Clone for CacheInputs
Source§fn clone(&self) -> CacheInputs
fn clone(&self) -> CacheInputs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CacheInputs
impl Debug for CacheInputs
Source§impl Default for CacheInputs
impl Default for CacheInputs
Source§fn default() -> CacheInputs
fn default() -> CacheInputs
Returns the “default value” for a type. Read more
Source§impl PartialEq for CacheInputs
impl PartialEq for CacheInputs
impl Eq for CacheInputs
impl StructuralPartialEq for CacheInputs
Auto Trait Implementations§
impl Freeze for CacheInputs
impl RefUnwindSafe for CacheInputs
impl Send for CacheInputs
impl Sync for CacheInputs
impl Unpin for CacheInputs
impl UnwindSafe for CacheInputs
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.