pub struct ScannerTuningConfig {Show 15 fields
pub phase2_hs: Option<bool>,
pub hs_prefilter_max_len: Option<usize>,
pub hs_shard_target: Option<usize>,
pub phase2_anchor: Option<bool>,
pub homoglyph_gate: Option<bool>,
pub homoglyph_ascii_skip: Option<bool>,
pub fallback_reverse: Option<bool>,
pub prefilter_truncate: Option<bool>,
pub fallback_prefix_gate: Option<bool>,
pub decode_focus: Option<bool>,
pub confirmed_suffix_gate: Option<bool>,
pub no_candidate_gate: Option<bool>,
pub fallback_localizer: Option<bool>,
pub gpu_recall_floor: Option<bool>,
pub gpu_moe_timeout_ms: Option<u64>,
}Expand description
Explicit per-scanner performance-route tuning.
Each field is optional: None means the compiled shipped default, while
Some(value) is an explicit config override. These knobs choose
recall-equivalent routes inside the scanner (prefilter engine, anchor
localization, no-candidate gates, decode focus), so they must be part of the
resolved scan config and autoroute cache identity instead of ambient process
environment.
Fields§
§phase2_hs: Option<bool>§hs_prefilter_max_len: Option<usize>§hs_shard_target: Option<usize>§phase2_anchor: Option<bool>§homoglyph_gate: Option<bool>§homoglyph_ascii_skip: Option<bool>§fallback_reverse: Option<bool>§prefilter_truncate: Option<bool>§fallback_prefix_gate: Option<bool>§decode_focus: Option<bool>§confirmed_suffix_gate: Option<bool>§no_candidate_gate: Option<bool>§fallback_localizer: Option<bool>§gpu_recall_floor: Option<bool>§gpu_moe_timeout_ms: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for ScannerTuningConfig
impl Clone for ScannerTuningConfig
Source§fn clone(&self) -> ScannerTuningConfig
fn clone(&self) -> ScannerTuningConfig
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 ScannerTuningConfig
impl Debug for ScannerTuningConfig
Source§impl Default for ScannerTuningConfig
impl Default for ScannerTuningConfig
Source§fn default() -> ScannerTuningConfig
fn default() -> ScannerTuningConfig
Returns the “default value” for a type. Read more
impl Eq for ScannerTuningConfig
Source§impl Hash for ScannerTuningConfig
impl Hash for ScannerTuningConfig
Source§impl PartialEq for ScannerTuningConfig
impl PartialEq for ScannerTuningConfig
impl StructuralPartialEq for ScannerTuningConfig
Auto Trait Implementations§
impl Freeze for ScannerTuningConfig
impl RefUnwindSafe for ScannerTuningConfig
impl Send for ScannerTuningConfig
impl Sync for ScannerTuningConfig
impl Unpin for ScannerTuningConfig
impl UnsafeUnpin for ScannerTuningConfig
impl UnwindSafe for ScannerTuningConfig
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> 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