pub struct ScalingConfig {
pub streaming: StreamingConfig,
pub caching: CacheConfig,
pub parallel: ParallelConfig,
pub adaptive: AdaptiveConfig,
pub signatures: SignatureConfig,
pub memory: MemoryConfig,
pub token_budget: Option<usize>,
pub enable_intelligent_selection: bool,
pub selection_algorithm: Option<String>,
pub enable_context_positioning: bool,
pub positioning_query: Option<String>,
}
Expand description
Complete scaling configuration combining all subsystems
Fields§
§streaming: StreamingConfig
§caching: CacheConfig
§parallel: ParallelConfig
§adaptive: AdaptiveConfig
§signatures: SignatureConfig
§memory: MemoryConfig
§token_budget: Option<usize>
Token budget for intelligent selection (0 = unlimited)
enable_intelligent_selection: bool
Enable intelligent file selection before processing
selection_algorithm: Option<String>
Selection algorithm to use when intelligent selection is enabled
enable_context_positioning: bool
Enable context positioning optimization (HEAD/MIDDLE/TAIL)
positioning_query: Option<String>
Query for context positioning (affects HEAD section)
Implementations§
Source§impl ScalingConfig
impl ScalingConfig
Sourcepub fn small_repository() -> Self
pub fn small_repository() -> Self
Create configuration optimized for small repositories
Sourcepub fn large_repository() -> Self
pub fn large_repository() -> Self
Create configuration optimized for large repositories
Sourcepub fn with_token_budget(token_budget: usize) -> Self
pub fn with_token_budget(token_budget: usize) -> Self
Create configuration with specific token budget
Trait Implementations§
Source§impl Clone for ScalingConfig
impl Clone for ScalingConfig
Source§fn clone(&self) -> ScalingConfig
fn clone(&self) -> ScalingConfig
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 ScalingConfig
impl Debug for ScalingConfig
Source§impl Default for ScalingConfig
impl Default for ScalingConfig
Source§impl<'de> Deserialize<'de> for ScalingConfig
impl<'de> Deserialize<'de> for ScalingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScalingConfig
impl RefUnwindSafe for ScalingConfig
impl Send for ScalingConfig
impl Sync for ScalingConfig
impl Unpin for ScalingConfig
impl UnwindSafe for ScalingConfig
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,
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