pub struct RetrievalVerificationLimits {
pub proof_bytes: u64,
pub snapshot: SnapshotReadLimits,
pub max_candidates: u64,
pub max_candidate_bytes: u64,
pub max_returned: usize,
pub max_documents: u64,
pub max_tokens: u64,
pub max_lexical_candidates: u64,
pub max_lexical_returned: usize,
pub max_hybrid_returned: usize,
pub timeout: Duration,
}Expand description
Resource limits for complete offline exact-retrieval verification.
Fields§
§proof_bytes: u64Maximum proof file bytes accepted before allocation.
snapshot: SnapshotReadLimitsLimits for loading the canonical snapshot witness.
max_candidates: u64Maximum candidates accepted by exact replay.
max_candidate_bytes: u64Maximum aggregate key and vector bytes accepted by exact replay.
max_returned: usizeMaximum result count accepted by exact replay.
max_documents: u64Maximum durable documents accepted by lexical replay.
max_tokens: u64Maximum normalized tokens accepted by lexical replay.
max_lexical_candidates: u64Maximum matching documents retained by lexical replay.
max_lexical_returned: usizeMaximum lexical result count accepted by replay.
max_hybrid_returned: usizeMaximum hybrid result count accepted by replay.
timeout: DurationEnd-to-end cooperative verification deadline.
Trait Implementations§
Source§impl Clone for RetrievalVerificationLimits
impl Clone for RetrievalVerificationLimits
Source§fn clone(&self) -> RetrievalVerificationLimits
fn clone(&self) -> RetrievalVerificationLimits
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 moreSource§impl Debug for RetrievalVerificationLimits
impl Debug for RetrievalVerificationLimits
impl Eq for RetrievalVerificationLimits
impl StructuralPartialEq for RetrievalVerificationLimits
Auto Trait Implementations§
impl Freeze for RetrievalVerificationLimits
impl RefUnwindSafe for RetrievalVerificationLimits
impl Send for RetrievalVerificationLimits
impl Sync for RetrievalVerificationLimits
impl Unpin for RetrievalVerificationLimits
impl UnsafeUnpin for RetrievalVerificationLimits
impl UnwindSafe for RetrievalVerificationLimits
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